mirror of
https://github.com/django/django.git
synced 2024-11-18 15:34:16 +00: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
228 B
Python
10 lines
228 B
Python
from django.urls import path, register_converter
|
|
|
|
from . import converters, views
|
|
|
|
register_converter(converters.Base64Converter, 'base64')
|
|
|
|
urlpatterns = [
|
|
path('base64/<base64:value>/', views.empty_view, name='base64'),
|
|
]
|