changed the urls to make registration page static 2011
authorParth buch <parth.buch.115@gmail.com>
Fri, 30 Sep 2011 18:53:01 +0530
branch2011
changeset 419 d68f4cfebfab
parent 418 eac3723864c1
child 420 56e520066333
changed the urls to make registration page static
project/urls.py
--- a/project/urls.py	Fri Sep 30 18:52:30 2011 +0530
+++ b/project/urls.py	Fri Sep 30 18:53:01 2011 +0530
@@ -53,7 +53,8 @@
     url(r'^%s/registrations/$' % (SCOPE_ARG_PATTERN), 'registrations',
         name='scipycon_registrations'),
     url(r'^%s/submit-registration/$' % (SCOPE_ARG_PATTERN),
-        'submit_registration', name='scipycon_submit_registration'),
+        direct_to_template, {"template": "registration/submit-registration.html"},
+        name='scipycon_submit_registration'),
     url(r'^%s/edit-registration/(?P<id>\d+)/$' % (SCOPE_ARG_PATTERN),
         'edit_registration', name='scipycon_edit_registration'),
     url(r'^%s/regstats/$'% (SCOPE_ARG_PATTERN),