summaryrefslogtreecommitdiff
path: root/django/contrib/auth/models.py
diff options
context:
space:
mode:
authorTimothy Allen <flipper@peregrinesalon.com>2018-11-14 15:13:34 -0500
committerTim Graham <timograham@gmail.com>2018-11-14 15:13:34 -0500
commite81955401885a93a459bcc130642b6ea5bf4ba4d (patch)
tree96024c343e3b927d037c3e167bb87a10cc13e293 /django/contrib/auth/models.py
parent6d4e5feb79f7eabe8a0c7c4b87f25b1a7f87ca0b (diff)
Fixed #29939 -- Increased Group.name max_length to 150 characters.
Diffstat (limited to 'django/contrib/auth/models.py')
-rw-r--r--django/contrib/auth/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/models.py b/django/contrib/auth/models.py
index 6603fbafb8..a144589804 100644
--- a/django/contrib/auth/models.py
+++ b/django/contrib/auth/models.py
@@ -108,7 +108,7 @@ class Group(models.Model):
members-only portion of your site, or sending them members-only email
messages.
"""
- name = models.CharField(_('name'), max_length=80, unique=True)
+ name = models.CharField(_('name'), max_length=150, unique=True)
permissions = models.ManyToManyField(
Permission,
verbose_name=_('permissions'),