From 9952685805308739c8e3746216058129aa9fa7f4 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Mon, 16 Nov 2020 18:04:57 +0100 Subject: [PATCH] textfield should not be Null=True --- .../migrations/0015_make_descriptions_great_again.py | 1 - allianceauth/groupmanagement/models.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/allianceauth/groupmanagement/migrations/0015_make_descriptions_great_again.py b/allianceauth/groupmanagement/migrations/0015_make_descriptions_great_again.py index 6d086c89..63b3807f 100644 --- a/allianceauth/groupmanagement/migrations/0015_make_descriptions_great_again.py +++ b/allianceauth/groupmanagement/migrations/0015_make_descriptions_great_again.py @@ -17,7 +17,6 @@ class Migration(migrations.Migration): blank=True, help_text="Short description (max. 512 characters) of the group shown to users.", max_length=512, - null=True, ), ), ] diff --git a/allianceauth/groupmanagement/models.py b/allianceauth/groupmanagement/models.py index 250b40b1..861872ef 100644 --- a/allianceauth/groupmanagement/models.py +++ b/allianceauth/groupmanagement/models.py @@ -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 (max. 512 characters) of the group shown to users.") + description = models.TextField(max_length=512, blank=True, help_text="Short description (max. 512 characters) of the group shown to users.") def __str__(self): return self.group.name