Commit 845845bb authored by Evert Prants's avatar Evert Prants

Remove show moderators model

parent 307fdd4f
......@@ -145,32 +145,6 @@ class Ban(TimestampedModel):
def __str__(self):
return ("Permanent" if self.permanent else "Temporary") + " ban of %s"%self.user
class ShowModerator(TimestampedModel):
show = models.ForeignKey(
Show,
on_delete=models.CASCADE,
help_text='The show this user moderates',
verbose_name='Moderated Show',
related_name='moderators',
)
user = models.ForeignKey(
User,
on_delete=models.CASCADE,
help_text='The user who moderates this show',
verbose_name='Moderator',
related_name='moderated_shows'
)
appointed_by = models.ForeignKey(
User,
on_delete=models.SET_NULL,
related_name='appointed_mods',
null=True,
help_text='The user who appointed this moderator',
verbose_name='Appointed by'
)
def __str__(self):
return "%s on %s"%(self.user,self.show.abbr)
class Report(TimestampedModel):
reporter = models.ForeignKey(
User,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment