merged login view with website Index, wasted time on small details
This commit is contained in:
@@ -8,15 +8,14 @@ from suivi import urls as suivi_urls
|
||||
from sujets import urls as sujets_urls
|
||||
|
||||
urlpatterns = [
|
||||
# Authentification
|
||||
url('^$', Index.as_view(), name="index"),
|
||||
url(r'^logout/$', auth_views.logout, {
|
||||
'template_name': 'logout.html',
|
||||
'next_page': 'index',
|
||||
}, name="logout"),
|
||||
# Applications
|
||||
url(r'^maraudes/', include(maraudes_urls, namespace="maraudes")),
|
||||
url(r'^suivi/', include(suivi_urls, namespace="suivi")),
|
||||
url(r'^sujets/', include(sujets_urls, namespace="sujets")),
|
||||
# Authentification
|
||||
url(r'^login/$', auth_views.login, {'template_name': 'login.html'}, name="login"),
|
||||
url(r'^logout/$', auth_views.logout, {
|
||||
'template_name': 'logout.html',
|
||||
'next_page': 'login',
|
||||
}, name="logout"),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user