From 845845bb2e1c674be59befd3329df23e8388a579 Mon Sep 17 00:00:00 2001 From: Evert Date: Thu, 28 Dec 2017 17:03:49 +0200 Subject: [PATCH] Remove show moderators model --- LandingPage/models.py | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/LandingPage/models.py b/LandingPage/models.py index b0f6a08..319b8fc 100644 --- a/LandingPage/models.py +++ b/LandingPage/models.py @@ -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,