Changed the url regexpr for review and added 2 missing imports.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/group_app.py Sun Feb 01 09:55:02 2009 +0000
+++ b/app/soc/views/models/group_app.py Sun Feb 01 13:07:12 2009 +0000
@@ -32,6 +32,8 @@
from soc.logic.helper import notifications
from soc.logic.models import group_app as group_app_logic
from soc.logic.models import user as user_logic
+from soc.views import helper
+from soc.views import out_of_band
from soc.views.helper import decorators
from soc.views.helper import lists as list_helper
from soc.views.helper import redirects
@@ -66,7 +68,7 @@
patterns = [(r'^%(url_name)s/(?P<access_type>review)$',
'soc.views.models.%(module_name)s.review_overview',
'Review %(name_plural)s'),
- (r'^%(url_name)s/(?P<access_type>review)/%(lnp)s$',
+ (r'^%(url_name)s/(?P<access_type>review)/%(key_fields)s$',
'soc.views.models.%(module_name)s.review',
'Review %(name_short)s')]