Compare commits
No commits in common. "master" and "v0.2.1" have entirely different histories.
4 changed files with 4 additions and 5 deletions
|
@ -11,7 +11,7 @@ Quick start
|
|||
|
||||
INSTALLED_APPS = (
|
||||
...
|
||||
'anonsurvey',
|
||||
'polls',
|
||||
)
|
||||
|
||||
Anonsurvey admin also depends on:
|
||||
|
|
|
@ -54,7 +54,7 @@ class QuestionAdmin(admin.ModelAdmin):
|
|||
'offeredanswer__answer_type',
|
||||
'offeredanswer__text',
|
||||
'offeredanswer__sufix',)
|
||||
list_filter = ('question_type', 'requires_answer', 'survey' )
|
||||
list_filter = ('question_type', 'requires_answer', )
|
||||
|
||||
|
||||
class QuestionGroupAdmin(admin.ModelAdmin):
|
||||
|
|
|
@ -63,8 +63,7 @@ def complete_survey(request, pk):
|
|||
if not existing_answers:
|
||||
break
|
||||
time.sleep(0.001)
|
||||
# remove ip address from client_id - PRIVACY
|
||||
# client_id = '{}@{}'.format(client_id, utils.get_client_ip(request))
|
||||
client_id = '{}@{}'.format(client_id, utils.get_client_ip(request))
|
||||
client_answers = []
|
||||
# parse, validate and collect answers
|
||||
# if survey is inactive questions is empty list (see above)
|
||||
|
|
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(
|
||||
name='django-anonsurvey',
|
||||
version='0.2.4',
|
||||
version='0.2.1',
|
||||
packages=['anonsurvey'],
|
||||
include_package_data=True,
|
||||
license='GPLv3',
|
||||
|
|
Loading…
Reference in a new issue