duck-booking-tool/booking/urls.py

25 lines
643 B
Python
Raw Normal View History

2014-12-23 08:13:22 +00:00
from django.conf.urls import patterns, url
from django.views.generic.base import TemplateView
2014-12-23 08:28:43 +00:00
from .views import DuckListView
2014-12-23 08:13:22 +00:00
urlpatterns = patterns(
'',
2014-12-23 08:28:43 +00:00
url(r'^$', DuckListView.as_view(), name = 'list'),
2014-12-23 08:13:22 +00:00
url(
r'^vocabulary.html$',
TemplateView.as_view(template_name = 'booking/vocabulary.html'),
name = 'vocabulary'
),
2014-12-23 10:09:23 +00:00
url(
r'^terms.html$',
TemplateView.as_view(template_name = 'booking/terms.html'),
name = 'terms'
),
2014-12-23 10:59:26 +00:00
url(
r'^disclaimer.html$',
TemplateView.as_view(template_name = 'booking/disclaimer.html'),
name = 'disclaimer'
),
2014-12-23 08:13:22 +00:00
)