Commit 03dd8c21 authored by Carlo Joseph Echon's avatar Carlo Joseph Echon 🐟

Fixed ReactionAdmin

parent db9d491b
...@@ -8,7 +8,7 @@ class AnnouncementAdmin(admin.ModelAdmin): ...@@ -8,7 +8,7 @@ class AnnouncementAdmin(admin.ModelAdmin):
search_fields = ['announcement_title', 'announcement_body'] search_fields = ['announcement_title', 'announcement_body']
list_display = ('announcement_title', 'announcement_body', 'pub_date') list_display = ('announcement_title', 'announcement_body', 'pub_date')
class ReactionAdmin(admin.ModelAdmin): class ReactionAdmin(admin.ModelAdmin):
model = Announcement model = Reaction
search_fields = ['announcement', 'reaction_name'] search_fields = ['announcement', 'reaction_name']
list_display = ('announcement', 'reaction_name', 'tally') list_display = ('announcement', 'reaction_name', 'tally')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment