add question list filter by survey
This commit is contained in:
parent
9b53c57eff
commit
af11925b0d
2 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue