I am newbie in Django and wanted to know a very basic thing:
I have a form which has some dropdown boxes and textfields and upon hitting the button on the form, I want the data to be inserted into database table.
I have already created the table using model.py but dont know where the insert code would come.
The usual way to go about is to create a ModelForm if the data you are collecting is mapping to a model. You place the ModelForm in forms.py inside your app.
Read more here: