max_length in form not working

2016-01-13 Thread Ashutosh Singh
Hi, I am using django 1.8.7. I noticed that max_length for form is not working. The form validates even when the max_length is set and password length is more than 50 for following code. Though the min_length works fine. class AuthenticationForm(forms.Form) : email_mobile = forms.CharField

Query regarding Models

2012-07-06 Thread Ashutosh Singh
I wanted to import to import csv file to the model in django and then after that I wanted to link the csv data to my data of different model.Basically the other data is shapefile which has ids to which I wanna link csv data using those ids.Somebody please help me out its urgent.Plz -- You rece