Django forms "not" using forms from models

Posted by zubinmehta on Stack Overflow See other posts from Stack Overflow or by zubinmehta
Published on 2010-05-30T21:44:28Z Indexed on 2010/05/30 21:52 UTC
Read the original article Hit count: 562

I have a form generated from various models and the various values filled go and sit in some other table. Hence, in this case I haven't used the inbuilt Django forms(i.e. I am not creating forms from models ).

Now the data which is posted from the self made form is handled by view1 which should clean the data accordingly. How do I go about it and use the various functions clean and define validation errors (and preferably not do validation logic in the view itself!)

© Stack Overflow or respective owner

Related posts about django

Related posts about django-models