Make custom CSS nullable

This commit is contained in:
Evert Prants 2017-12-28 17:03:16 +02:00
parent 36de1771ce
commit 307fdd4f7b
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

View File

@ -60,6 +60,7 @@ class Show(TimestampedModel):
css = models.FileField( css = models.FileField(
storage=show_static_storage, storage=show_static_storage,
upload_to=name_css, upload_to=name_css,
null=True,
help_text="The CSS stylesheet applied to this show's page", help_text="The CSS stylesheet applied to this show's page",
verbose_name="Custom Style" verbose_name="Custom Style"
) )