Browse Source

fix: imported login_required decorator; some cosmetic in buy_confirm.html

master
Frederic 11 years ago
parent
commit
ed82e8b9b7
  1. 2
      cash/templates/cash/buy_confirm.html
  2. 1
      cash/views.py

2
cash/templates/cash/buy_confirm.html

@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
<tr><th>Kategorie:</th><td>{{ product.category }}</td></tr>
</table>
Möchten Sie dieses Produkt wirklich kaufen?<br/>
<p>Möchten Sie dieses Produkt wirklich kaufen?</p>
<a class="actionlink" href="{% url 'buy_really' product.id %}">Ja</a>
<a class="actionlink" href="{% url 'products' %}">Nein</a>

1
cash/views.py

@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
from django.views import generic
from django.shortcuts import render_to_response, get_object_or_404
from django.contrib.auth.decorators import login_required
from django.template import RequestContext
from cash.models import *

Loading…
Cancel
Save