1 2 3 4 5
from django.urls import path urlpatterns = [ path('some/url/', lambda req:req, name='some_url'), ]