From a90a553939d3283932a3a87028cc86b63d7b648f Mon Sep 17 00:00:00 2001 From: Skia Date: Thu, 5 Jan 2017 10:05:13 +0100 Subject: [PATCH] Some fixes on SAS upload form --- sas/templates/sas/album.jinja | 19 +++++++++++-------- sas/urls.py | 1 + sas/views.py | 24 ++++++++++++++++++++++-- 3 files changed, 34 insertions(+), 10 deletions(-) diff --git a/sas/templates/sas/album.jinja b/sas/templates/sas/album.jinja index 0caf407e..a7ccd7d1 100644 --- a/sas/templates/sas/album.jinja +++ b/sas/templates/sas/album.jinja @@ -80,7 +80,7 @@ {% if edit_mode %} {% endif %} -
+ {% csrf_token %} {{ form.as_p() }}

@@ -91,20 +91,20 @@ {% block script %} {{ super() }}