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