From d5cf119597fa577e03f9a7299a546c19161ad988 Mon Sep 17 00:00:00 2001 From: Yoann Pietri Date: Sun, 28 Jan 2018 23:58:01 +0100 Subject: [PATCH] =?UTF-8?q?Modification=20des=20urls,=20j'avais=20pr=C3=A9?= =?UTF-8?q?vu=20plus=20mais=20c'est=20le=20depaps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site_tps/urls.py | 1 + templates/nav_bar.html | 2 +- vote/templates/vote/home.html | 8 ++++++-- vote/urls.py | 3 ++- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/site_tps/urls.py b/site_tps/urls.py index 0edf049..9c1202f 100644 --- a/site_tps/urls.py +++ b/site_tps/urls.py @@ -22,4 +22,5 @@ urlpatterns = [ path('admin/', admin.site.urls), path('', views.home), path('content/', include('content.urls')), + path('vote/', include('vote.urls')), ] diff --git a/templates/nav_bar.html b/templates/nav_bar.html index f79d7a1..860a461 100644 --- a/templates/nav_bar.html +++ b/templates/nav_bar.html @@ -25,7 +25,7 @@ {{c.name}} {% endfor %} -
  • Vote
  • +
  • Vote