Brubeck icon indicating copy to clipboard operation
Brubeck copied to clipboard

Poll and survey views break URL reversals

Open allanjamesvestal opened this issue 13 years ago • 0 comments

Two issues:

  1. On line 30 of voxpopuli/views.py, the 'else' statement doesn't follow any 'if' statement at the same indentation level. This triggers a TemplateSyntaxError when trying to load admin pages on trunk.
  2. The 'survey_vote' view is referred to as 'survey_detail' in voxpopuli/urls.py. That causes another problem with the admin (and generally all reversed URLs).

I'm not too familiar with whatever refactoring Justin's done on this app, so I don't want to commit any changes lest I overwrite some of what he's done. Justin, let me know if you have any questions about the issues I've had.

allanjamesvestal avatar Jul 25 '11 02:07 allanjamesvestal