2011-01-16 23:38:03 +08:00
|
|
|
# coding: utf-8
|
2011-10-14 05:34:56 +08:00
|
|
|
|
|
|
|
from __future__ import absolute_import
|
|
|
|
|
2011-09-12 06:36:16 +08:00
|
|
|
from django.conf.urls import patterns, 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
|
|
|
|
2011-01-24 22:24:35 +08:00
|
|
|
|
2011-01-16 23:38:03 +08:00
|
|
|
urlpatterns = patterns('',
|
|
|
|
# View returning a template response
|
2011-01-24 22:24:35 +08:00
|
|
|
(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'),
|
|
|
|
)
|