29 lines
683 B
Python
29 lines
683 B
Python
# -*- coding: utf-8
|
|
"""
|
|
URL definitions for the Duck Booking Tool frontend
|
|
"""
|
|
|
|
from django.conf.urls import url
|
|
from django.views.generic.base import TemplateView
|
|
|
|
from .views import DuckListView
|
|
|
|
urlpatterns = [
|
|
url(r'^$', DuckListView.as_view(), name='list'),
|
|
url(
|
|
r'^vocabulary.html$',
|
|
TemplateView.as_view(template_name='booking/vocabulary.html'),
|
|
name='vocabulary'
|
|
),
|
|
url(
|
|
r'^terms.html$',
|
|
TemplateView.as_view(template_name='booking/terms.html'),
|
|
name='terms'
|
|
),
|
|
url(
|
|
r'^disclaimer.html$',
|
|
TemplateView.as_view(template_name='booking/disclaimer.html'),
|
|
name='disclaimer'
|
|
),
|
|
]
|