8 lines
294 B
Python
8 lines
294 B
Python
from . import views
|
|
from django.urls import path, re_path
|
|
|
|
urlpatterns = [
|
|
# use re_path for regex (.*) - this regex accepts anything - see https://docs.python.org/3/library/re.html for more
|
|
path('', views.home, name=''),
|
|
re_path('(?P<value>.*)/$', views.home, name='textausgabe')
|
|
] |