From 6a18bea5dedcbb6ad59ab4138f15a3189339a618 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 b1a1037c..52b685ff 100644 --- a/re2o/urls.py +++ b/re2o/urls.py @@ -47,13 +47,14 @@ 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' 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')),