diff options
Diffstat (limited to 'pyblackbird_cc/resources/models.py')
-rw-r--r-- | pyblackbird_cc/resources/models.py | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/pyblackbird_cc/resources/models.py b/pyblackbird_cc/resources/models.py index 6a279dd..5a03454 100644 --- a/pyblackbird_cc/resources/models.py +++ b/pyblackbird_cc/resources/models.py @@ -16,6 +16,17 @@ AGE_RANGE_CHOICES = [ ("Age not applicable", "Age not applicable"), ] +DESC_HELP_TEXT = """ + <strong>Markdown acceptable here!</strong>This is your opportunity to clearly explain what + your resource is all about! It’s worth remembering that you are using the space to + communicate to two different audiences. Firstly, think about what fellow teachers + would like to know, such as exactly what the resource contains and how it could be used in + the classroom. Secondly, the words you include on this page are also talking to internal and + external search engines. External search engines, like Google, show the first 155 characters + of the resource description, so make sure you take advantage + of these characters by using lots of relevant keywords as part of an enticing pitch. +""" + # Create your models here. class Resource(models.Model): @@ -39,7 +50,12 @@ class Resource(models.Model): blank=True, related_name="additional_resource_category", ) - description = models.TextField(max_length=1000, null=False, blank=False) + description = models.TextField( + max_length=5000, + null=False, + blank=False, + help_text=DESC_HELP_TEXT, + ) age_range = models.CharField( max_length=20, null=False, |