Hello,

Before sync. import user, and set size

from django.contrib.auth.models import User
User._meta.get_field_by_name('username')[0].max_length = 75
in any model which is in installed_apps list..


2013/5/25 uday kumar g <uday12ku...@gmail.com>

> Hi
>
> I am using the User model.
> I want the username to be more than 30 characters.
>
> Is there anyway to change the size from 30 to 75.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to