From 60600c9463048fb628371bb2ea9687b40101ed2f Mon Sep 17 00:00:00 2001 From: patrick Date: Tue, 15 Jun 2021 10:48:11 +0000 Subject: [PATCH] add contact --- fet2020/fet2020/urls.py | 1 + fet2020/templates/layout.html | 1 + 2 files changed, 2 insertions(+) diff --git a/fet2020/fet2020/urls.py b/fet2020/fet2020/urls.py index 6278ffad..84abd46d 100644 --- a/fet2020/fet2020/urls.py +++ b/fet2020/fet2020/urls.py @@ -50,4 +50,5 @@ urlpatterns = [ path('pages/', include('django.contrib.flatpages.urls')), re_path(r'^(?P.*/)$', flatpages.views.flatpage), path('impressum/', flatpages.views.flatpage, {'url': '/impressum/'}, name='impressum'), + path('kontakt/', flatpages.views.flatpage, {'url': '/kontakt/'}, name='contact'), ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) diff --git a/fet2020/templates/layout.html b/fet2020/templates/layout.html index cd700109..4d1008ed 100644 --- a/fet2020/templates/layout.html +++ b/fet2020/templates/layout.html @@ -60,6 +60,7 @@
  • Fachschaft
  • Fotos
  • Blackboard
  • +
  • Kontakt
  • {% if request.user.is_authenticated %}
  • Logout
  • {% else %}