duck-booking-tool/booking/urls.py

29 lines
683 B
Python
Raw Normal View History

2015-10-20 14:26:25 +00:00
# -*- coding: utf-8
"""
URL definitions for the Duck Booking Tool frontend
"""
from django.conf.urls import url
2014-12-23 08:13:22 +00:00
from django.views.generic.base import TemplateView
2014-12-23 08:28:43 +00:00
from .views import DuckListView
2015-10-20 14:26:25 +00:00
urlpatterns = [
url(r'^$', DuckListView.as_view(), name='list'),
2014-12-23 08:13:22 +00:00
url(
r'^vocabulary.html$',
2015-10-20 14:26:25 +00:00
TemplateView.as_view(template_name='booking/vocabulary.html'),
name='vocabulary'
2014-12-23 08:13:22 +00:00
),
2014-12-23 10:09:23 +00:00
url(
r'^terms.html$',
2015-10-20 14:26:25 +00:00
TemplateView.as_view(template_name='booking/terms.html'),
name='terms'
2014-12-23 10:09:23 +00:00
),
2014-12-23 10:59:26 +00:00
url(
r'^disclaimer.html$',
2015-10-20 14:26:25 +00:00
TemplateView.as_view(template_name='booking/disclaimer.html'),
name='disclaimer'
2014-12-23 10:59:26 +00:00
),
2015-10-20 14:26:25 +00:00
]