1 from django.conf.urls import patterns, url
2 from django.views.generic import TemplateView
5 urlpatterns = patterns(
9 TemplateView.as_view(template_name='tests/main.html')
12 TemplateView.as_view(template_name='tests/number_zero.html')
14 url(r'^random_quote$', 'random_quote', name='random_quote'),
15 url(r'^quote/(?P<number>.+)$', 'quote', name='quote'),