8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-05 01:16:27 +00:00

oubli du fichier urls

This commit is contained in:
Grizzly 2018-07-01 16:41:03 +00:00 committed by Gabriel Detraz
parent 5c1d2a6b90
commit 15571e79a1

View file

@ -47,7 +47,7 @@ from django.conf.urls import include, url
from django.contrib import admin
from django.contrib.auth import views as auth_views
from .views import index, about_page
from .views import index, about_page, contact_page
handler500 = 're2o.views.handler500'
handler404 = 're2o.views.handler404'
@ -55,6 +55,7 @@ handler404 = 're2o.views.handler404'
urlpatterns = [
url(r'^$', index, name='index'),
url(r'^about/$', about_page, name='about'),
url(r'^contact/$', contact_page, name='contact'),
url('^logout/', auth_views.logout, {'next_page': '/'}),
url('^', include('django.contrib.auth.urls')),
url(r'^i18n/', include('django.conf.urls.i18n')),