From 1f2b252a85d6c7a9abbc4bf15c5167b86ed22364 Mon Sep 17 00:00:00 2001 From: Patrick Date: Sun, 4 Oct 2020 14:28:55 +0000 Subject: [PATCH] add a new app called 'tasks' --- fet2020/fet2020/settings.py | 1 + fet2020/fet2020/urls.py | 1 + fet2020/templates/layout.html | 1 + 3 files changed, 3 insertions(+) diff --git a/fet2020/fet2020/settings.py b/fet2020/fet2020/settings.py index 194eb69f..869f2ab6 100644 --- a/fet2020/fet2020/settings.py +++ b/fet2020/fet2020/settings.py @@ -82,6 +82,7 @@ INSTALLED_APPS = [ 'members.apps.MembersConfig', 'documents.apps.DocumentsConfig', 'blackboard.apps.BlackboardConfig', + 'tasks.apps.TasksConfig', ] MIDDLEWARE = [ diff --git a/fet2020/fet2020/urls.py b/fet2020/fet2020/urls.py index 89a69b65..32459f82 100644 --- a/fet2020/fet2020/urls.py +++ b/fet2020/fet2020/urls.py @@ -39,4 +39,5 @@ urlpatterns = [ path('api/', include(router.urls)), path('members/', include('members.urls'), name='members'), path('blackboard/', include('blackboard.urls'), name='blackboard'), + path('tasks/', include('tasks.urls'), name='tasks'), ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) diff --git a/fet2020/templates/layout.html b/fet2020/templates/layout.html index 7d7df7f3..cc0fba63 100644 --- a/fet2020/templates/layout.html +++ b/fet2020/templates/layout.html @@ -23,6 +23,7 @@ {% if request.user.is_authenticated %} Hallo {{request.user.username}}
  • Admin
  • +
  • Tasks
  • Logout
  • {% else %}
  • Login