mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
7 lines
167 B
Python
7 lines
167 B
Python
from django.urls import path, re_path
|
|
|
|
urlpatterns = [
|
|
path("/path-starting-with-slash/", lambda x: x),
|
|
re_path(r"/url-starting-with-slash/$", lambda x: x),
|
|
]
|