add question list filter by survey

This commit is contained in:
Darko Poljak 2014-03-10 07:59:53 +01:00
parent 9b53c57eff
commit af11925b0d
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ class QuestionAdmin(admin.ModelAdmin):
'offeredanswer__answer_type', 'offeredanswer__answer_type',
'offeredanswer__text', 'offeredanswer__text',
'offeredanswer__sufix',) 'offeredanswer__sufix',)
list_filter = ('question_type', 'requires_answer', ) list_filter = ('question_type', 'requires_answer', 'survey' )
class QuestionGroupAdmin(admin.ModelAdmin): class QuestionGroupAdmin(admin.ModelAdmin):

View file

@ -8,7 +8,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup( setup(
name='django-anonsurvey', name='django-anonsurvey',
version='0.2.1', version='0.2.2',
packages=['anonsurvey'], packages=['anonsurvey'],
include_package_data=True, include_package_data=True,
license='GPLv3', license='GPLv3',