django forms doubt
Posted
by webvulture
on Stack Overflow
See other posts from Stack Overflow
or by webvulture
Published on 2010-05-14T06:15:50Z
Indexed on
2010/05/14
6:24 UTC
Read the original article
Hit count: 479
Here, I am a bit confused with forms in Django. I have information for the form(a poll i.e the poll question and options) coming from some db_table - table1 or say class1 in models. Now the vote from this poll is to be captured which is another model say class2. So, I am just getting confused with the whole flow of forms, here i think. How will the data be captured into the class2 table?
I was trying something like this.
def blah1()
get_data_from_db_table_1()
x = blah2Form()
render_to_response(blah.html,{...})
© Stack Overflow or respective owner