SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 44804f42 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Improve admin for News

parent 1d1536d4
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ admin.site.register(NewsLetter, NewsLetterAdmin)
class NewsItemAdmin(admin.ModelAdmin):
search_fields = ['blurb', 'followup_link_text']
list_display = ['__str__', 'on_homepage']
list_display = ['__str__', 'published', 'on_homepage']
admin.site.register(NewsItem, NewsItemAdmin)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment