From 702e11de124b629cf5faa58f64399955c9e4e601 Mon Sep 17 00:00:00 2001 From: Evert Date: Thu, 28 Dec 2017 17:09:39 +0200 Subject: [PATCH] Add extra fields to Submission --- LandingPage/models.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/LandingPage/models.py b/LandingPage/models.py index 319b8fc..71a3860 100644 --- a/LandingPage/models.py +++ b/LandingPage/models.py @@ -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