.
This commit is contained in:
@@ -572,6 +572,14 @@ class CaseCollection(models.Model):
|
||||
show_title = models.BooleanField(default=False, help_text="Show the title of the cases")
|
||||
show_description = models.BooleanField(default=False, help_text="Show the description of the cases")
|
||||
show_discussion = models.BooleanField(default=False, help_text="Show the case discussion")
|
||||
show_report = models.BooleanField(default=False, help_text="Show the case report")
|
||||
|
||||
author = models.ManyToManyField(
|
||||
settings.AUTH_USER_MODEL,
|
||||
blank=True,
|
||||
help_text="Author of the collection",
|
||||
#related_name="atlas_authored_cases",
|
||||
)
|
||||
|
||||
def get_absolute_url(self):
|
||||
return reverse("atlas:collection_detail_view", kwargs={"pk": self.pk})
|
||||
|
||||
Reference in New Issue
Block a user