redirect / to /billard

This commit is contained in:
Robert Einsle 2017-09-20 11:24:25 +02:00
parent 0f933aa681
commit bc097764e9

View File

@ -25,5 +25,5 @@ urlpatterns = [
url(r'^login/$', auth_views.login), url(r'^login/$', auth_views.login),
url(r'^logout/$', auth_views.logout), url(r'^logout/$', auth_views.logout),
url(r'^', include('django.contrib.auth.urls')), url(r'^', include('django.contrib.auth.urls')),
url(r'^.*$', RedirectView.as_view(url='billard/', permanent=False), name='index') url(r'^$', RedirectView.as_view(url='billard/', permanent=False), name='index')
] ]