Commit 15571e79 authored by Grizzly's avatar Grizzly Committed by Gabriel Detraz
Browse files

oubli du fichier urls

parent 5c1d2a6b
......@@ -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')),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment