Adding content to the template might help

This commit is contained in:
Víðir Valberg Guðmundsson 2016-05-30 22:57:15 +02:00
parent 700b876fd3
commit 0f6d8944a0
2 changed files with 15 additions and 4 deletions

View file

@ -0,0 +1,11 @@
{% extends 'shop_base.html' %}
{% load bootstrap3 %}
{% load shop_tags %}
{% block shop_content %}
{% for ticket in tickets %}
{{ ticket }}
{% endfor %}
{% endblock %}

View file

@ -20,9 +20,9 @@ urlpatterns = [
url(r'orders/(?P<pk>[0-9]+)/pay/banktransfer/$', BankTransferView.as_view(), name='bank_transfer'),
url(r'tickets/', TicketListView.as_view(), name='ticket_list'),
url(r'tickets/$', TicketListView.as_view(), name='ticket_list'),
url(r'privacy-policy/', TemplateView.as_view(template_name='law/privacy_policy.html'), name='privacy-policy'),
url(r'return-policy/', TemplateView.as_view(template_name='law/return_policy.html'), name='return-policy'),
url(r'general-terms-and-conditions/', TemplateView.as_view(template_name='law/general_terms_and_conditions.html'), name='general-terms')
url(r'privacy-policy/$', TemplateView.as_view(template_name='law/privacy_policy.html'), name='privacy-policy'),
url(r'return-policy/$', TemplateView.as_view(template_name='law/return_policy.html'), name='return-policy'),
url(r'general-terms-and-conditions/$', TemplateView.as_view(template_name='law/general_terms_and_conditions.html'), name='general-terms')
]