added the bigger username migration and change
This commit is contained in:
parent
5410aee3d5
commit
13af3ccd1d
|
@ -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),
|
||||||
|
),
|
||||||
|
]
|
|
@ -273,7 +273,7 @@ class User(models.Model):
|
||||||
#: The session key of the current authenticated user
|
#: The session key of the current authenticated user
|
||||||
session_key = models.CharField(max_length=40, blank=True, null=True)
|
session_key = models.CharField(max_length=40, blank=True, null=True)
|
||||||
#: The username of the current authenticated user
|
#: 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…)
|
#: Last time the authenticated user has do something (auth, fetch ticket, etc…)
|
||||||
date = models.DateTimeField(auto_now=True)
|
date = models.DateTimeField(auto_now=True)
|
||||||
#: last time the user logged
|
#: last time the user logged
|
||||||
|
|
Loading…
Reference in New Issue