changeset 153:d9adc73fcd12

quick fix for posting form
author souliane <souliane@mailoo.org>
date Mon, 30 Oct 2017 23:59:14 +0100
parents 1801236f27f0
children 87382593e514
files sat_website/views/category.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sat_website/views/category.py	Mon Oct 30 23:39:09 2017 +0100
+++ b/sat_website/views/category.py	Mon Oct 30 23:59:14 2017 +0100
@@ -125,3 +125,7 @@
             return render_to_response('sat_website/%s.html' % (category,), context)
         else:
             raise Http404
+
+    # FIXME: dirty fix
+    def post(self, request, category):
+        return self.get(request, category)