.
This commit is contained in:
+1
-1
@@ -122,7 +122,7 @@ class Long(models.Model):
|
|||||||
help_text="If the json cache needs updating", default=False
|
help_text="If the json cache needs updating", default=False
|
||||||
)
|
)
|
||||||
|
|
||||||
question_file = models.FileField(upload_to=question_file_directory_path, blank=True, null=True)
|
#question_file = models.FileField(upload_to=question_file_directory_path, blank=True, null=True)
|
||||||
|
|
||||||
def get_absolute_url(self):
|
def get_absolute_url(self):
|
||||||
return reverse("longs:question_detail", kwargs={"pk": self.pk})
|
return reverse("longs:question_detail", kwargs={"pk": self.pk})
|
||||||
|
|||||||
Reference in New Issue
Block a user