From 15571e79a1c8a600329c3d835346ca76306b82fd Mon Sep 17 00:00:00 2001 From: Grizzly Date: Sun, 1 Jul 2018 16:41:03 +0000 Subject: [PATCH] oubli du fichier urls --- re2o/urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/re2o/urls.py b/re2o/urls.py index 87a5b346..d1e11d52 100644 --- a/re2o/urls.py +++ b/re2o/urls.py @@ -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')),