Re: Problem How to increase the username filed size from 30 to 75
On Sat, May 25, 2013 at 4:57 PM, uday kumar g <uday12kumar@gmail.com> wrote:
-- HiI 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.
There's no way to change the size of a model that already exists in Django.
However, in the case of the User model, you can now define your own user model, and make the username field as big as you want it to be. See:
for details.
Yours,
Russ Magee %-)
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+unsubscribe@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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home