mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
12 lines
266 B
Python
12 lines
266 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
# View returning a template response
|
|
path('template_response_view/', views.template_response_view),
|
|
|
|
# A view that can be hard to find...
|
|
path('snark/', views.snark, name='snark'),
|
|
]
|