Neat Tom, thanks! Lloyd
On Tue, Dec 7, 2010 at 4:35 PM, Tom Evans <[email protected]> wrote: > On Tue, Dec 7, 2010 at 2:32 PM, Sithembewena Lloyd Dube > <[email protected]> wrote: > > Hi all, > > > > How would I suppress validation on a django.forms control instance? Eg, I > > have: > > > > link = forms.CharField(widget=forms.TextInput(attrs={'size':'70'})) > > > > or > > > > link = forms.URLField() > > > > How would I stop Django from enforcing that the field must be populated > with > > data? I think that this is what's causing my form not to save. > > > > -- > > Regards, > > Sithembewena Lloyd Dube > > > > http://docs.djangoproject.com/en/1.2/ref/forms/fields/#required > > Cheers > > Tom > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<django-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Regards, Sithembewena Lloyd Dube -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. 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.

