Commits

koeart  committed e239549

news read boolean field added

if this field is set, news was read. We can now have a function looking for all news read in the show.

  • Participants
  • Parent commits 7be9acb
  • Branches development

Comments (0)

Files changed (1)

File src/submitter/models.py

         choices=STATUS_CHOICES,
         default=LIVE_STATUS,
     )
+#was the news item read?
+    was_read = models.BooleanField(
+        verbose_name=_("Show was read?"),
+        default=False,
+    )
 
     submit_date = models.DateTimeField(
         verbose_name=_("Publication Date"),