From 7ae251c4e5d11be3f6d7999a0d72413c724d0a98 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 27 Nov 2013 11:34:13 +0100 Subject: [PATCH] Filter by lawyer. --- questions/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/questions/admin.py b/questions/admin.py index 0f1c343..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') -- 2.20.1