Commits

Sergey Maranchuk  committed 33d5b8f

added registration_activation_complete and registration_disallowed urls from django-registration

  • Participants
  • Parent commits db97df9

Comments (0)

Files changed (1)

File django_authopenid/urls.py

 
 urlpatterns = patterns('',
     # django registration activate
+    url(r'^activate/complete/$',
+        direct_to_template,
+        {'template': 'registration/activation_complete.html'},
+        name='registration_activation_complete'),
     url(r'^activate/(?P<activation_key>\w+)/$',
         reg_views.activate,
         {'backend': 'registration.backends.default.DefaultBackend'},
     url(r'^signup/complete/$',direct_to_template, 
         {'template': 'registration/registration_complete.html'},
         name='registration_complete'),
-        
+    url(r'^signup/closed/$',
+        direct_to_template,
+        {'template': 'registration/registration_closed.html'},
+        name='registration_disallowed'),
+
     # yadis uri
     url(r'^yadis.xrdf$', oid_views.xrdf, name='oid_xrdf'),
 )