This was an excellent response, and helped me immediately. Thank you.
~G~
--~--~-~--~~~---~--~~
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 u
On 11/2/07, crybaby <[EMAIL PROTECTED]> wrote:
>
>
> I have @login_required decorator for the view function that handles
> this form and I am already logged in.
> I commented out the "def clean" from the form and when I submit the
> form field reason without a value, I get this error:
>
> Exception
I have @login_required decorator for the view function that handles
this form and I am already logged in.
I commented out the "def clean" from the form and when I submit the
form field reason without a value, I get this error:
Exception Type: ValueError
Exception Value:The view dj
On 11/2/07, crybaby <[EMAIL PROTECTED]> wrote:
>
>
> I have a form and trying to do validation. When I submit a form
> without any values into the field, "reason", I get this error.
>
> Exception Type: KeyError
> Exception Value:'reason'
>
> at this line of ReasonForm:
>
> if(self.
I have a form and trying to do validation. When I submit a form
without any values into the field, "reason", I get this error.
Exception Type: KeyError
Exception Value:'reason'
at this line of ReasonForm:
if(self.cleaned_data['reason']==''):
here is my ReasonForm:
class Reason
5 matches
Mail list logo