django/tests/template_tests/alternate_urls.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
265 B
Python
Raw Normal View History

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"),
]