himanshu14 / django-survey

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

ReverseMatch error when attempting to delete questions #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Clicking Delete for any question results in:

NoReverseMatch at /survey/question/delete/2009-newsroom-training-survey/6/

Reverse for 'survey-edit' with arguments '()' and keyword arguments
'{'survey_slug': u'2009-newsroom-training-survey', 'group_slug': None}' not
found.

Since it's also not possible to click any question in the admin without
crashing Django, deleting questions is difficult.

Original issue reported on code.google.com by scotfhac...@gmail.com on 28 Feb 2009 at 12:14

GoogleCodeExporter commented 8 years ago
closed in r101 I can now delete a question

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

GoogleCodeExporter commented 8 years ago
Thanks for all the bug fixes! On this one - I can now access and delete a 
question
via the admin, but not from the edit quiz interface. I still get 

NoReverseMatch at /survey/question/delete/test-survey-1/3/

Reverse for 'survey-edit' with arguments '()' and keyword arguments 
'{'survey_slug':
u'test-survey-1', 'group_slug': None}' not found.

Testing with MySQL 5, Django SVN-9904, fresh tables.

Original comment by scotfhac...@gmail.com on 12 Mar 2009 at 6:12

GoogleCodeExporter commented 8 years ago
This is still actually an issue in the non admin side of things.

The literal fix, though improper fix is to remove  "group_slug":group_slug   
from line 281 in django-survey/survey/views.py

This is not a fix by any means, but more of a temporary representation of where 
the
issue is at and to show where the issue occurs.

Original comment by Bmhei...@gmail.com on 11 Nov 2009 at 9:18