Make AlertPlugin title not able to be blank

I accidentally created a blank alert plugin and it broke some pages as
we use the plugin title in some urls
This commit is contained in:
Frank Hamand 2017-04-16 13:06:52 +01:00
parent 0159cb79c0
commit 6953572fb5

View File

@ -9,7 +9,7 @@ logger = logging.getLogger(__name__)
class AlertPlugin(PolymorphicModel):
title = models.CharField(max_length=30, unique=True, editable=False)
title = models.CharField(max_length=30, unique=True, blank=False, editable=False)
enabled = models.BooleanField(default=True)
author = None