from django.contrib import admin
from news.models import Article
class ArticleAdmin(admin.ModelAdmin):
list_display = ("title", "author")
admin.site.register(Article, ArticleAdmin)