Re: Form error messages not displayed

2014-07-16 Thread sarfaraz ahmed
> > I tried {{form.errors}} in template.. but it still does not show up. When > I used the Werkeuq and print form it see the precise error in form. Not > sure what i am doing wrong. Regards, Sarfaraz Ahmed -- You received this message because you are subscribed to the Google Groups "Djang

Re: Form error messages not displayed

2014-07-16 Thread Tom Evans
On Wed, Jul 16, 2014 at 10:26 PM, sarfaraz ahmed wrote: > I am trying to display form.erros. I am using bootstrap modal and using ajax > form submit to send data async. Everything works fine... I can see the error > messages returned in code. But it automatically goes to default error pages > of d

Form error messages not displayed

2014-07-16 Thread sarfaraz ahmed
I am trying to display form.erros. I am using bootstrap modal and using ajax form submit to send data async. Everything works fine... I can see the error messages returned in code. But it automatically goes to default error pages of django when form.is_valid returns false. When I print form in