Components App mit base.html und answer.html
This commit is contained in:
13
core/components/urls.py
Normal file
13
core/components/urls.py
Normal 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'),
|
||||
|
||||
]
|
||||
Reference in New Issue
Block a user