1
0
Fork 0
IdreXyz/news/admin.py

11 lines
190 B
Python
Raw Permalink Normal View History

2016-02-02 18:28:58 +01:00
from django.contrib import admin
from news.models import Article
2016-02-02 19:11:40 +01:00
class ArticleAdmin(admin.ModelAdmin):
list_display = ("title", "author")
admin.site.register(Article, ArticleAdmin)