diff --git a/cas_server/migrations/0013_auto_20170329_1748.py b/cas_server/migrations/0013_auto_20170329_1748.py new file mode 100644 index 0000000..a49f908 --- /dev/null +++ b/cas_server/migrations/0013_auto_20170329_1748.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.5 on 2017-03-29 15:48 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('cas_server', '0012_auto_20170328_1610'), + ] + + operations = [ + migrations.AlterField( + model_name='user', + name='username', + field=models.CharField(max_length=250), + ), + ] diff --git a/cas_server/models.py b/cas_server/models.py index be871b6..4b6596f 100644 --- a/cas_server/models.py +++ b/cas_server/models.py @@ -273,7 +273,7 @@ class User(models.Model): #: The session key of the current authenticated user session_key = models.CharField(max_length=40, blank=True, null=True) #: The username of the current authenticated user - username = models.CharField(max_length=30) + username = models.CharField(max_length=250) #: Last time the authenticated user has do something (auth, fetch ticket, etc…) date = models.DateTimeField(auto_now=True) #: last time the user logged