Add extra fields to Submission

This commit is contained in:
Evert Prants 2017-12-28 17:09:39 +02:00
parent 845845bb2e
commit 702e11de12
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
1 changed files with 12 additions and 0 deletions

View File

@ -270,6 +270,18 @@ class Submission(TimestampedModel):
url = models.URLField(
help_text='The link that was submitted',
)
title = models.TextField(
help_text='Title of the page',
blank=True
)
embed = models.URLField(
help_text='Embed player link for this episode',
blank=True,
verbose_name='Embed URL'
)
pinned = models.BooleanField(
help_text='Whether or not this submission is pinned'
)
tags = models.CharField(
help_text='Tags applied to this link submission',
max_length=200