From a65ceffbfbbdf72622a20a05ceff051d8e66a25e Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 11 Nov 2024 13:36:37 +0000 Subject: [PATCH] start thinking about presentations --- generic/models.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/generic/models.py b/generic/models.py index cb9bcc4d..fd417534 100644 --- a/generic/models.py +++ b/generic/models.py @@ -1719,3 +1719,22 @@ class ExamCollection(models.Model, AuthorMixin): def get_absolute_url(self): return reverse("generic:examcollection_detail", kwargs={"pk": self.pk}) + + +#class Presentation(models.Model, AuthorMixin): +# +# name = models.CharField(max_length=255, help_text="Name of the presentation") +# +# date_created = models.DateField(help_text="Date the presentation was created", auto_now_add=True) +# +# date_updated = models.DateField(help_text="Date the presentation was last updated", auto_now=True) +# +# markdown = models.TextField(help_text="Markdown text for the presentation") +# +# output_html = models.TextField(help_text="HTML output of the presentation") +# +# author = models.ManyToManyField( +# settings.AUTH_USER_MODEL, +# blank=True, +# help_text="Author/Manager(s) of the exam collection", +# ) \ No newline at end of file