Relative Content

Tag Archive for pythondatabasesave

Problems Saving Two data’s to database -python

I am very new to Python and currently developing a new invoice app for my client. They want to separate the data into GST and Non-GST categories. So, I wrote an if-else condition. If ‘Non-GST’ is selected, the data is saved to the ‘nongst_invoice_data’ table in the database. Otherwise, it should be saved into the ‘invoice_data’ table.