mirror of
https://github.com/django/django.git
synced 2024-12-30 13:05:45 +00:00
a8b70d251d
Backport of 0ed7d15563
from master
12 lines
273 B
Python
12 lines
273 B
Python
from django.conf.urls import url
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
# View returning a template response
|
|
url(r'^template_response_view/$', views.template_response_view),
|
|
|
|
# A view that can be hard to find...
|
|
url(r'^snark/', views.snark, name='snark'),
|
|
]
|