From 886f71fb5c6a9f3d5a3ec3da6f5f18bae6cb1e21 Mon Sep 17 00:00:00 2001 From: Qwann Date: Tue, 21 Feb 2017 15:32:03 +0100 Subject: [PATCH] creating 'empty' home view --- evenementiel/urls.py | 1 + shared/urls.py | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 shared/urls.py diff --git a/evenementiel/urls.py b/evenementiel/urls.py index 682df1e..eff7989 100644 --- a/evenementiel/urls.py +++ b/evenementiel/urls.py @@ -9,6 +9,7 @@ urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^event/', include('event.urls')), url(r'^user/', include('user.urls')), + url(r'^', include('shared.urls')), ] if settings.DEBUG: diff --git a/shared/urls.py b/shared/urls.py new file mode 100644 index 0000000..f591c4a --- /dev/null +++ b/shared/urls.py @@ -0,0 +1,7 @@ +from django.conf.urls import url +from .views import Home + +app_name = 'shared' +urlpatterns = [ + url(r'$', Home.as_view(), name='home'), +]