Re: Suppressing validation

2010-12-07 Thread Sithembewena Lloyd Dube
Neat Tom, thanks! Lloyd On Tue, Dec 7, 2010 at 4:35 PM, Tom Evans wrote: > On Tue, Dec 7, 2010 at 2:32 PM, Sithembewena Lloyd Dube > wrote: > > Hi all, > > > > How would I suppress validation on a django.forms control instance? Eg, I > > have: > > > > link = forms.CharField(widget=forms.TextIn

Re: Suppressing validation

2010-12-07 Thread Tom Evans
On Tue, Dec 7, 2010 at 2:32 PM, Sithembewena Lloyd Dube 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

Suppressing validation

2010-12-07 Thread Sithembewena Lloyd Dube
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