textfield should not be Null=True

This commit is contained in:
Peter Pfeufer 2020-11-16 18:04:57 +01:00
parent 2f59c8df22
commit 9952685805
No known key found for this signature in database
GPG Key ID: 6051D2C6AD4EBC27
2 changed files with 1 additions and 2 deletions

View File

@ -17,7 +17,6 @@ class Migration(migrations.Migration):
blank=True,
help_text="Short description <i>(max. 512 characters)</i> of the group shown to users.",
max_length=512,
null=True,
),
),
]

View File

@ -107,7 +107,7 @@ class AuthGroup(models.Model):
help_text="States listed here will have the ability to join this group provided "
"they have the proper permissions.")
description = models.TextField(max_length=512, null=True, blank=True, help_text="Short description <i>(max. 512 characters)</i> of the group shown to users.")
description = models.TextField(max_length=512, blank=True, help_text="Short description <i>(max. 512 characters)</i> of the group shown to users.")
def __str__(self):
return self.group.name