From: Yoan Le Clanche Date: Wed, 3 Mar 2021 16:58:00 +0000 (+0100) Subject: / now redirect to desk instead of login : https://trackers.pilotsystems.net/probarrea... X-Git-Tag: 2.8.1-pro~172 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=1edccaa0e157c9b67e6e3608ccef629e38b88c47;p=teleforma.git / now redirect to desk instead of login : https://trackers.pilotsystems.net/probarreau/1076 --- diff --git a/teleforma/urls.py b/teleforma/urls.py index 98c4f0d9..eae170dc 100644 --- a/teleforma/urls.py +++ b/teleforma/urls.py @@ -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"), - )