Cleaned up errors

This commit is contained in:
Taizo 'Tsa6' Simpson 2017-08-26 02:40:28 -04:00
parent 7e9fdbf3b7
commit c0bff596db
1 changed files with 4 additions and 3 deletions

View File

@ -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'
)