Add extra fields to Submission
This commit is contained in:
parent
845845bb2e
commit
702e11de12
@ -270,6 +270,18 @@ class Submission(TimestampedModel):
|
|||||||
url = models.URLField(
|
url = models.URLField(
|
||||||
help_text='The link that was submitted',
|
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(
|
tags = models.CharField(
|
||||||
help_text='Tags applied to this link submission',
|
help_text='Tags applied to this link submission',
|
||||||
max_length=200
|
max_length=200
|
||||||
|
Reference in New Issue
Block a user