Skip to content

Commit

Permalink
todo myself
Browse files Browse the repository at this point in the history
  • Loading branch information
realsuayip committed Oct 3, 2024
1 parent 6de4562 commit 67b1e4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions asu/messaging/models/interaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

class Interaction(models.Model):
# todo add jsonfield to hold additional data related to event
# todo save read events for each individual message
class Kind(models.TextChoices):
READ = "read", _("read")
REACT = "react", _("react")
Expand All @@ -32,6 +33,7 @@ class Kind(models.TextChoices):
date_created = models.DateTimeField(_("date created"), auto_now_add=True)

class Meta:
# todo some kind of idx(user,event,type)
verbose_name = _("interaction")
verbose_name_plural = _("interactions")

Expand Down

0 comments on commit 67b1e4a

Please sign in to comment.