Verified Commit c4bdc69b authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Make url for push messages non-required

parent 8938e723
......@@ -13,6 +13,6 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='message',
name='url',
field=models.CharField(max_length=256, null=True, verbose_name='url'),
field=models.CharField(max_length=256, null=True, blank=True, verbose_name='url'),
),
]
......@@ -98,7 +98,8 @@ class Message(models.Model, metaclass=ModelTranslateMeta):
url = models.CharField(
verbose_name=_('url'),
max_length=256,
null=True
null=True,
blank=True,
)
category = models.ForeignKey(
Category,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment