Skip to content

Commit

Permalink
GH-83: Require all fields (can't require image)
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar committed Aug 24, 2021
1 parent a07957e commit 5059e02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions taccsite_cms/contrib/taccsite_callout/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ class TaccsiteCallout(AbstractLink):
title = models.CharField(
verbose_name=_('Title'),
help_text=_('A heading for the callout.'),
blank=True,
blank=False,
max_length=100,
)
description = models.CharField(
verbose_name=_('Description'),
help_text=_('A paragraph for the callout.'),
blank=True,
blank=False,
max_length=200,
)

Expand All @@ -41,7 +41,7 @@ def get_short_description(self):

# Parent

link_is_optional = True
link_is_optional = False

class Meta:
abstract = False
Expand Down

0 comments on commit 5059e02

Please sign in to comment.