X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/548d9fe735b1c4f04c296f01a3bf73149f627005..0ffd0b004ed18d4b39085677fb4966dc883cb4aa:/questions/admin.py?ds=sidebyside diff --git a/questions/admin.py b/questions/admin.py index d8676dc..ae6ac1d 100755 --- a/questions/admin.py +++ b/questions/admin.py @@ -7,7 +7,7 @@ class QuestionAdmin(admin.ModelAdmin): list_display = ('question', 'email', 'created_at', 'approved', 'answered', 'published') date_hierarchy = 'created_at' fields = ( - ('email', 'created_at'), + ('email', 'created_at', 'changed_at'), 'question', 'approved', 'edited_question', @@ -16,7 +16,7 @@ class QuestionAdmin(admin.ModelAdmin): ('published', 'published_at'), ) - readonly_fields = ['created_at', 'answered_at', 'published_at'] + readonly_fields = ['created_at', 'answered_at', 'published_at', 'changed_at'] admin.site.register(Question, QuestionAdmin)