2014-04-02 08:46:34 +08:00
|
|
|
from django.conf.urls import url
|
2011-01-24 22:24:35 +08:00
|
|
|
|
2011-10-14 05:34:56 +08:00
|
|
|
from . import views
|
2011-01-16 23:38:03 +08:00
|
|
|
|
2014-04-02 08:46:34 +08:00
|
|
|
urlpatterns = [
|
2011-01-16 23:38:03 +08:00
|
|
|
# View returning a template response
|
2014-04-02 08:46:34 +08:00
|
|
|
url(r'^template_response_view/$', views.template_response_view),
|
2011-01-16 23:38:03 +08:00
|
|
|
|
|
|
|
# A view that can be hard to find...
|
|
|
|
url(r'^snark/', views.snark, name='snark'),
|
2014-04-02 08:46:34 +08:00
|
|
|
]
|