53c0ef7f8f611a6ffa56267b8ac8e5259420cfea
[django-ssify.git] / tests / urls.py
1 from django.conf.urls import patterns, url
2 from django.views.generic import TemplateView
3
4
5 urlpatterns = patterns(
6     'tests.views',
7
8     url(r'^$',
9         TemplateView.as_view(template_name='tests/main.html')
10         ),
11     url(r'^number_zero$',
12         TemplateView.as_view(template_name='tests/number_zero.html')
13         ),
14     url(r'^random_quote$', 'random_quote', name='random_quote'),
15     url(r'^quote/(?P<number>.+)$', 'quote', name='quote'),
16 )