First of all keep ur form in separate file named as forms.py .What all u r
importing can u describe them .And check ur if condition.
if desc and len(desc)>10:
rasie ..
On Wed, Sep 16, 2009 at 3:57 PM, Anish wrote:
>
> Hi,
> please check whether you import statement is this ---from django
>
Hi,
please check whether you import statement is this ---from django
import forms
On Sep 16, 3:15 pm, "adee...@googlemail.com"
wrote:
> Hi Guys,
>
> I am quite new to Django, I'm having few problems with validation
> forms in Admin module, more specifically with raising exception in the
> ModelF
Hi Guys,
I am quite new to Django, I'm having few problems with validation
forms in Admin module, more specifically with raising exception in the
ModelForm. I can validate and manipulate data in clean methods but
cannot seem to raise any errors. Whenever I include any raise
statement I get this e
3 matches
Mail list logo