diff --git a/templates/base.html b/templates/base.html index 7d2ac97..61edb79 100644 --- a/templates/base.html +++ b/templates/base.html @@ -2,9 +2,10 @@
-{{message|safe}}
-{% if not upload_allowed %} -Les envois de contenu ne sont pas autorisés actuellement.
-{% endif %} +Les envois de contenu ne sont pas autorisés actuellement.
+ {% endif %} + {% endblock %} diff --git a/templates/nav_bar.html b/templates/nav_bar.html index 54d5ddd..6702bdf 100644 --- a/templates/nav_bar.html +++ b/templates/nav_bar.html @@ -1,8 +1,47 @@ - diff --git a/vote/templates/vote/home.html b/vote/templates/vote/home.html new file mode 100644 index 0000000..62637f9 --- /dev/null +++ b/vote/templates/vote/home.html @@ -0,0 +1,2 @@ +Lol + diff --git a/vote/urls.py b/vote/urls.py new file mode 100644 index 0000000..48336d5 --- /dev/null +++ b/vote/urls.py @@ -0,0 +1,6 @@ +from django.urls import path +from . import views + +urlpatterns = [ + path('home', views.home) +] diff --git a/vote/views.py b/vote/views.py index 91ea44a..d2e26ce 100644 --- a/vote/views.py +++ b/vote/views.py @@ -1,3 +1,7 @@ from django.shortcuts import render # Create your views here. + + +def home(request): + return render(request, 'vote/home.html')