From f4469deba5ad3b69de5d5068211b2198df79a36b Mon Sep 17 00:00:00 2001 From: PCoder Date: Tue, 24 Dec 2019 17:44:28 +0530 Subject: [PATCH] Set calculator post url --- .../templates/datacenterlight/includes/_calculator_form.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/datacenterlight/templates/datacenterlight/includes/_calculator_form.html b/datacenterlight/templates/datacenterlight/includes/_calculator_form.html index f9896f17..47a8a987 100644 --- a/datacenterlight/templates/datacenterlight/includes/_calculator_form.html +++ b/datacenterlight/templates/datacenterlight/includes/_calculator_form.html @@ -14,6 +14,7 @@ {% endif %} +{% with url 'datacenterlight:index' as calculator_form_url %}
{% csrf_token %} @@ -103,3 +104,4 @@
+{% endwith %} \ No newline at end of file