X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/3033e6b9f88d1729c3adc32ae8e45c6c4cffe4e0..ad9181d5de95c8dd356f6e2687769c970ceff9f9:/questions/admin.py diff --git a/questions/admin.py b/questions/admin.py index 6427bbc..11eedc4 100755 --- a/questions/admin.py +++ b/questions/admin.py @@ -3,7 +3,7 @@ from .models import Question, Tag, TagCategory class QuestionAdmin(admin.ModelAdmin): model = Question - list_filter = ('approved', 'answered', 'published') + list_filter = ('approved', 'answered', 'published', 'answered_by') list_display = ('question', 'email', 'created_at', 'approved', 'answered', 'published') date_hierarchy = 'created_at' search_fields = ('question', 'edited_question', 'answer', 'email') @@ -13,6 +13,7 @@ class QuestionAdmin(admin.ModelAdmin): 'approved', 'edited_question', 'answer', + 'answered_by', 'tags', ('answered', 'answered_at'), ('published', 'published_at'),