Components App mit base.html und answer.html

This commit is contained in:
ben8
2025-02-14 17:31:34 +01:00
parent 7f1be5afab
commit 70e901dfbf
7 changed files with 87 additions and 1 deletions

13
core/components/urls.py Normal file
View File

@@ -0,0 +1,13 @@
from django.urls import path # type: ignore
from . import views
app_name = 'components' # Namensraum zum verhindern von Konflikten zwischen Apps
#
# Wichtig: Damit Links funktionieren müssen diese so eingebunden werden: {% url 'accounts:login' %} statt {% url 'login' %}
#
urlpatterns = [
path('play/<int:pk>', views.play, name='play'),
]