Can't have ForeignKey from PGT to ST, if ST is deleted immediately.
[django-cas-provider.git] / cas_provider / urls.py
index 37da0af..a2f5fe7 100644 (file)
@@ -1,8 +1,10 @@
-from django.conf.urls.defaults import patterns, url
+from django.conf.urls import patterns, url
 
 
 urlpatterns = patterns('cas_provider.views',
 
 
 urlpatterns = patterns('cas_provider.views',
+    url(r'^login/merge/', 'login', {'merge': True, 'template_name': 'cas/merge.html'}),
     url(r'^login/?$', 'login', name='cas_login'),
     url(r'^login/?$', 'login', name='cas_login'),
+    url(r'^socialauth-login/$', 'login', name='cas_socialauth_login'),
     url(r'^validate/?$', 'validate', name='cas_validate'),
     url(r'^proxy/?$', 'proxy', name='proxy'),
     url(r'^serviceValidate/?$', 'service_validate', name='cas_service_validate'),
     url(r'^validate/?$', 'validate', name='cas_validate'),
     url(r'^proxy/?$', 'proxy', name='proxy'),
     url(r'^serviceValidate/?$', 'service_validate', name='cas_service_validate'),