# HG changeset patch # User Lennard de Rijk # Date 1233493632 0 # Node ID 7a6f94ffcc8718a7afc6abdc43a224aebcb059b8 # Parent 18ef393382117d7465b7d71ad388ed1a7d79bb15 Changed the url regexpr for review and added 2 missing imports. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 18ef39338211 -r 7a6f94ffcc87 app/soc/views/models/group_app.py --- 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/(?Preview)$', 'soc.views.models.%(module_name)s.review_overview', 'Review %(name_plural)s'), - (r'^%(url_name)s/(?Preview)/%(lnp)s$', + (r'^%(url_name)s/(?Preview)/%(key_fields)s$', 'soc.views.models.%(module_name)s.review', 'Review %(name_short)s')]