Skip to content
Snippets Groups Projects
Verified Commit 3260c8af authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Fix CharFields in models

parent e194f3c9
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ class Person(ExtensibleModel):
)
short_name = models.CharField(
verbose_name=_("Short name"), max_length=255, blank=True, unique=True
verbose_name=_("Short name"), max_length=255, blank=True, null=True, unique=True # noqa
)
street = models.CharField(verbose_name=_("Street"), max_length=255, blank=True)
......@@ -257,7 +257,7 @@ class Group(ExtensibleModel):
name = models.CharField(verbose_name=_("Long name"), max_length=255, unique=True)
short_name = models.CharField(
verbose_name=_("Short name"), max_length=255, unique=True, blank=True
verbose_name=_("Short name"), max_length=255, unique=True, blank=True, null=True # noqa
)
members = models.ManyToManyField(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment