On Fri, Oct 24, 2008 at 10:24 AM, omat <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a form class derived from a model using ModelForm. > > The model has a TextField(max_length=300) field, but length limit is > not taken into account and the form passes validation when texts > 300 > char are submitted. Same when submitting through admin. > > Is max_length not used for TextField? Is it something supported at db > level? > > I am using sqlite and django 1.0. > > max_length is not used for TextFields.
Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---