From b149cbcfeeb2f157b57579f1a07ea0a9c93e460d Mon Sep 17 00:00:00 2001 From: juhnsa Date: Sun, 16 Mar 2025 17:35:24 +0100 Subject: [PATCH] Components verfuegbar machen --- django/core/urls.py | 1 + django/templates/components/answer.html | 2 +- django/templates/components/ranking.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/django/core/urls.py b/django/core/urls.py index 0eda9f8..a2d1017 100644 --- a/django/core/urls.py +++ b/django/core/urls.py @@ -23,4 +23,5 @@ urlpatterns = [ path('', include('homepage.urls')), path('play/', include('play.urls')), path('library/', include('library.urls')), + path('components/', include('components.urls')) ] diff --git a/django/templates/components/answer.html b/django/templates/components/answer.html index cd4188e..a7dc304 100644 --- a/django/templates/components/answer.html +++ b/django/templates/components/answer.html @@ -2,7 +2,7 @@ {% load static %} {% block title %}Antwort{% endblock %} {% block content %} - + {% if user.is_authenticated %} diff --git a/django/templates/components/ranking.html b/django/templates/components/ranking.html index 91ccb08..399a495 100644 --- a/django/templates/components/ranking.html +++ b/django/templates/components/ranking.html @@ -1,5 +1,5 @@ {% load static %} - +