.
This commit is contained in:
@@ -114,6 +114,10 @@ class Long(models.Model):
|
||||
help_text="If a question should be freely available to browse", default=True
|
||||
)
|
||||
|
||||
recreate_json = models.BooleanField(
|
||||
help_text="If the json cache needs updating", default=False
|
||||
)
|
||||
|
||||
def get_absolute_url(self):
|
||||
return reverse("longs:long_detail", kwargs={"pk": self.pk})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user