shivsharma07 / django-survey

Automatically exported from code.google.com/p/django-survey
0 stars 0 forks source link

No submission_count #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
After creating a survey and submitting several test submissions by various
users, the Info column on /survey/visible and /survey/editable says "No
submissions" and no link is provided to view results. 

However, I can go manually to /survey/answers/slug and see the compiled
results.

In other words, survey.submission_count is turning up empty. This is true
both with the provided example site and my implemented version. Any ideas why?

Using Django 1.1 alpha.

Great pluggable app by the way! Thanks.

Original issue reported on code.google.com by scotfhac...@gmail.com on 27 Feb 2009 at 11:08

GoogleCodeExporter commented 8 years ago
submission_count is incorrect, the code should be referring to the 
interview_count
property. 

In templates/survey/editable_survey_list.html and 
templates/survey/survey_list.html,
change all references to submission_count to interview_count. The attached diff 
will
do that for you (against svn r96).

Original comment by rwpoul...@gmail.com on 3 Mar 2009 at 8:33

Attachments:

GoogleCodeExporter commented 8 years ago
patched in r100

Original comment by yann.ma...@gmail.com on 12 Mar 2009 at 2:11