mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-16 07:50:16 +02:00
textfield should not be Null=True
This commit is contained in:
parent
2f59c8df22
commit
9952685805
@ -17,7 +17,6 @@ class Migration(migrations.Migration):
|
|||||||
blank=True,
|
blank=True,
|
||||||
help_text="Short description <i>(max. 512 characters)</i> of the group shown to users.",
|
help_text="Short description <i>(max. 512 characters)</i> of the group shown to users.",
|
||||||
max_length=512,
|
max_length=512,
|
||||||
null=True,
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
@ -107,7 +107,7 @@ class AuthGroup(models.Model):
|
|||||||
help_text="States listed here will have the ability to join this group provided "
|
help_text="States listed here will have the ability to join this group provided "
|
||||||
"they have the proper permissions.")
|
"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):
|
def __str__(self):
|
||||||
return self.group.name
|
return self.group.name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user