Brubeck
Brubeck copied to clipboard
Poll and survey views break URL reversals
Two issues:
- 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.
- 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.