Re: Binding hand written HTML(form) or forms that are not created through djnago forms to django forms validation errors

2015-03-10 Thread Scot Hacker
On Tuesday, March 10, 2015 at 4:10:48 AM UTC-7, Mahesh Thipparthi wrote: > > Hi All, > Kindly help me with following questions. > > Use case is this: > 1. i have created a form manually ( not generated through django forms) > 2. I am calling a Django view function upon submission. > 3.

Re: Binding hand written HTML(form) or forms that are not created through djnago forms to django forms validation errors

2015-03-10 Thread Vijay Khemlani
Unbound forms have no validation errors as they haven't been filled yet by the user. I think you are trying to solve the wrong problem. Why are you creating your form manually in the first place? Your HTML markup is easy to do with Django forms and packages suck as crispy forms On Tue, Mar 10,

Binding hand written HTML(form) or forms that are not created through djnago forms to django forms validation errors

2015-03-10 Thread Mahesh Thipparthi
Hi All, Kindly help me with following questions. Use case is this: 1. i have created a form manually ( not generated through django forms) 2. I am calling a Django view function upon submission. 3. validating the field through django form as i ensured that form names are same. question