From 9989b75b3e3960049b3329a55687707ac7f1782b Mon Sep 17 00:00:00 2001 From: Skia Date: Sun, 26 Jun 2016 19:30:28 +0200 Subject: [PATCH] Add string parser in counters --- counter/templates/counter/counter_click.jinja | 6 +++ counter/views.py | 44 ++++++++++++++++--- 2 files changed, 44 insertions(+), 6 deletions(-) diff --git a/counter/templates/counter/counter_click.jinja b/counter/templates/counter/counter_click.jinja index 4c9d949b..4d412294 100644 --- a/counter/templates/counter/counter_click.jinja +++ b/counter/templates/counter/counter_click.jinja @@ -26,6 +26,12 @@ {% if request.session['not_enough'] %}

Not enough money

{% endif %} +
+ {% csrf_token %} + + + +

Basket: