From af11925b0d0e153ae9497e60d71e7e6adb35f5ca Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Mon, 10 Mar 2014 07:59:53 +0100 Subject: [PATCH] add question list filter by survey --- anonsurvey/admin.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anonsurvey/admin.py b/anonsurvey/admin.py index a90160b..0de372d 100644 --- a/anonsurvey/admin.py +++ b/anonsurvey/admin.py @@ -54,7 +54,7 @@ class QuestionAdmin(admin.ModelAdmin): 'offeredanswer__answer_type', 'offeredanswer__text', 'offeredanswer__sufix',) - list_filter = ('question_type', 'requires_answer', ) + list_filter = ('question_type', 'requires_answer', 'survey' ) class QuestionGroupAdmin(admin.ModelAdmin): diff --git a/setup.py b/setup.py index 1147a35..52b73f0 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-anonsurvey', - version='0.2.1', + version='0.2.2', packages=['anonsurvey'], include_package_data=True, license='GPLv3',