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

php - Hide output during test execution -

javascript - Migrate custom AngularJS filter from 1.2.28 to 1.4.x -

Update Magento products with multiple images -