This commit is contained in:
Ross
2021-08-11 18:38:23 +01:00
parent ba2e236dcb
commit a53c1e5cf4
5 changed files with 49 additions and 25 deletions
+7 -7
View File
@@ -130,7 +130,7 @@ class Long(models.Model):
question_json_id = models.IntegerField(default=1, help_text="Auto incrementing json creation number")
sorted_series = SortedManyToManyField("LongSeries", related_name="long_sorted")
series = SortedManyToManyField("LongSeries", related_name="long")
#question_file = models.FileField(upload_to=question_file_directory_path, blank=True, null=True)
@@ -340,12 +340,12 @@ class LongSeries(models.Model):
null=True,
blank=True,
)
long = models.ManyToManyField(
"Long",
help_text="The question(s) this series should be associated with",
related_name="series",
blank=True,
)
#long = models.ManyToManyField(
# "Long",
# help_text="The question(s) this series should be associated with",
# related_name="series",
# blank=True,
#)
description = models.TextField(
blank=True,
help_text="Description of stack, for admin organisation, will not be visible when taking",