I tried that but it still producing the error
Error: Ensure this value has at most 30 characters (it has 50).
On Sat, May 25, 2013 at 5:37 PM, Emrah Atalay <atalay.emrah@gmail.com> wrote:
in any model which is in installed_apps list..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
--2013/5/25 uday kumar g <uday12kumar@gmail.com>
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.--
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.
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.
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.
No comments:
Post a Comment