MEIM_LSG/posts/urls.py
2018-11-23 12:21:19 +01:00

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')
]