mirror of
https://github.com/django/django.git
synced 2024-11-25 16:09:27 +01:00
df41b5a05d
Thanks Aymeric Augustin for shepherding the DEP and patch review. Thanks Marten Kenbeek and Tim Graham for contributing to the code. Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
10 lines
233 B
Python
10 lines
233 B
Python
from django.urls import path, register_converter
|
|
|
|
from . import converters, views
|
|
|
|
register_converter(converters.DynamicConverter, 'dynamic')
|
|
|
|
urlpatterns = [
|
|
path('dynamic/<dynamic:value>/', views.empty_view, name='dynamic'),
|
|
]
|