Django Projektordner von 'core' in ''django' umbenennen

This commit is contained in:
juhnsa
2025-03-15 21:48:35 +01:00
parent 230944cbcd
commit 55750bcf1f
91 changed files with 0 additions and 0 deletions

14
django/components/urls.py Normal file
View File

@@ -0,0 +1,14 @@
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('<int:pk>', views.play, name='play'),
path('ranking/<int:pk>', views.show_rank, name='ranking')
]