python - How to extend username field length in Django 1.7.8? -


current django username length limit 30 characters.

my profile model looks this:

from django.contrib.auth.models import user  class userprofile(models.model):     user = models.onetoonefield(user)     organization = models.foreignkey(organization) .... 

is there not ugly solution what 'right' way extend username field length in django 1.5+?

p.s. deployed , there hundreds of users. can't implement own user class based on abstract user. need "hack". changed value directly in django local clone, is more ugly, monkey patching.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -