Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
radiopanik
panikdb
Commits
defed61b
Commit
defed61b
authored
Dec 20, 2013
by
fred
Browse files
force usernames to be < 28 characters
parent
ccedbc9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikdb/aa/management/commands/load-csv-users.py
View file @
defed61b
...
...
@@ -26,6 +26,8 @@ class Command(BaseCommand):
else
:
continue
username
=
username
[:
28
]
try
:
user
=
User
.
objects
.
get
(
username
=
username
)
except
User
.
DoesNotExist
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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