diff --git a/LandingPage/models.py b/LandingPage/models.py index 11f1875..d5fcf6d 100644 --- a/LandingPage/models.py +++ b/LandingPage/models.py @@ -14,7 +14,7 @@ def name_season_artwork(inst, name): show_static_storage = FileSystemStorage(location=os.path.join(os.path.dirname(settings.MEDIA_ROOT), 'uploaded_resources'), base_url='showstatic') # Create your models here. -class TimestampedModel: +class TimestampedModel(models.Model): timestamp = models.DateTimeField( auto_now=True, help_text='The date and time this object was created' @@ -89,6 +89,7 @@ class User(TimestampedModel): 'Episode', related_name='watched_by', through='Watch' + ) class Admin(User): pass @@ -333,7 +334,7 @@ class DiscussionBoard(TimestampedModel): help_text='The title of the discussion' ) body = models.TextField( - help_text='The body of the post' + help_text='The body of the post', verbose_name='Body' ) @@ -352,7 +353,7 @@ class DiscussionReply(TimestampedModel): help_text='The user that posted this reply' ) body = models.TextField( - help_text='The body of the response' + help_text='The body of the response', verbose_name='Body' )