]> git.parisson.com Git - teleforma.git/commitdiff
/ now redirect to desk instead of login : https://trackers.pilotsystems.net/probarrea...
authorYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 3 Mar 2021 16:58:00 +0000 (17:58 +0100)
committerYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 3 Mar 2021 16:58:00 +0000 (17:58 +0100)
teleforma/urls.py

index 98c4f0d912ba998088af2f6df81116fb8f20820d..eae170dc81b26d672e09b577887d1435a2ec386d 100644 (file)
@@ -51,10 +51,9 @@ media = MediaView()
 
 urlpatterns = patterns('',
 #    url(r'^$', HomeView.as_view(), name='teleforma-home'),
-    url(r'^$', 'django.contrib.auth.views.login', {'template_name': 'telemeta/login.html', 'authentication_form': AuthenticationForm },
+    url(r'^$', SeminarsView.as_view(), name="home"),
+    url(r'^login/$', 'django.contrib.auth.views.login', {'template_name': 'telemeta/login.html', 'authentication_form': AuthenticationForm },
         name="teleforma-login"),
-    url(r'^$', 'django.contrib.auth.views.login', {'template_name': 'telemeta/login.html', 'authentication_form': AuthenticationForm },
-        name="home"),
     url(r'^login/$', 'django.contrib.auth.views.login', {'template_name': 'telemeta/login.html', 'authentication_form': AuthenticationForm },
         name="telemeta-login"),
     url(r'^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'telemeta/login.html', 'authentication_form': AuthenticationForm },
@@ -176,5 +175,4 @@ urlpatterns = patterns('',
     # Webclass hook
     url(r'^webclass_bbb_webhook/', webclass_bbb_webhook,
         name="webclass_bbb_webhook"),
-                       
 )