mirror of
https://github.com/django/django.git
synced 2024-12-25 02:26:12 +00:00
5c1143910e
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
13 lines
292 B
Python
13 lines
292 B
Python
from django.conf.urls import patterns, url
|
|
|
|
from . import views
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
# View returning a template response
|
|
(r'^template_response_view/$', views.template_response_view),
|
|
|
|
# A view that can be hard to find...
|
|
url(r'^snark/', views.snark, name='snark'),
|
|
)
|