This commit is contained in:
Ross
2021-08-01 10:03:07 +01:00
parent 0015c925d8
commit e6ee1f22e5
+2
View File
@@ -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