From e6ee1f22e5976679c8a1d77fafd14632bc90b399 Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 1 Aug 2021 10:03:07 +0100 Subject: [PATCH] . --- longs/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/longs/models.py b/longs/models.py index 1d41573b..ebd57d73 100644 --- a/longs/models.py +++ b/longs/models.py @@ -216,6 +216,8 @@ class Long(models.Model): timestamp = datetime.datetime.now() q.question_json_id += 1 + print("QID", q.question_json_id) + with open(path, "w+") as f: # We manually create the json for long questions to reducem memroy usade