samedi 6 juin 2015

django how to insert a textbox input to sqlite database?

I apologize for asking a newbie question. I know both python and sqlite, but I never worked with them for a website with django framework.

So for example, my database already has 2 fields A and B. I want to insert dataA and dataB to A and B respectively. I want to take the input from 2 textbox on my website and put these data into the database as an entry.

How can I do that? If this is not too easy, where can I find in the documentation about this information?

Aucun commentaire:

Enregistrer un commentaire