Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Valentin Samir
django-cas-server
Commits
13af3ccd
Commit
13af3ccd
authored
Mar 29, 2017
by
Jorik Kraaikamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added the bigger username migration and change
parent
5410aee3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
cas_server/migrations/0013_auto_20170329_1748.py
cas_server/migrations/0013_auto_20170329_1748.py
+20
-0
cas_server/models.py
cas_server/models.py
+1
-1
No files found.
cas_server/migrations/0013_auto_20170329_1748.py
0 → 100644
View file @
13af3ccd
# -*- 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
),
),
]
cas_server/models.py
View file @
13af3ccd
...
...
@@ -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
=
3
0
)
username
=
models
.
CharField
(
max_length
=
25
0
)
#: Last time the authenticated user has do something (auth, fetch ticket, etc…)
date
=
models
.
DateTimeField
(
auto_now
=
True
)
#: last time the user logged
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment