[GENERAL] Error : Ensure this value has at most 30 characters (it has 31) django

2014-12-10 Thread VENKTESH GUTTEDAR
Hello, I am using DJango 1.7 and Postgresql 9.3.5. I am trying to store email in the username field of django.contrib.auth.models.User. but when i try to store more than 30 characters i am getting this error : Ensure this value has at most 30 characters (it has 31) django i tried

Re: [GENERAL] Error : Ensure this value has at most 30 characters (it has 31) django

2014-12-10 Thread Adrian Klaver
On 12/10/2014 04:38 AM, VENKTESH GUTTEDAR wrote: Hello, I am using DJango 1.7 and Postgresql 9.3.5. I am trying to store email in the username field of django.contrib.auth.models.User. but when i try to store more than 30 characters i am getting this error : Ensure this value

Re: [GENERAL] Error : Ensure this value has at most 30 characters (it has 31) django

2014-12-10 Thread Adrian Klaver
CCing list. On 12/10/2014 08:06 AM, VENKTESH GUTTEDAR wrote: Ya i used python manage.py syncdb Well, per Davids suggestion, you might want to check that it is indeed the email field that is triggering the validation error. Both the first_name and last_name fields in auth_user have a field