I have read the excel file which contain user creditional and store in the database so i need to connection to the database
I have some problem like if i run the python file directly
because i have read the excel file which contain user creditional and store in the database
so i need to connection to the database
please help me because i have found the diffuclty to do this
because i have read the excel file which contain user creditional and store in the database
so i need to connection to the database
please help me because i have found the diffuclty to do this
No any search results
You already invited:
1 Answers
Jamie
Upvotes from:
1. Declare the connection properties for your database (SQLite, MySQL, PostgreSQL etc)
2. Connect to your database
3. Make requests to your database to pull or write data
Since you are starting with Django, you should learn how to use the ORM for collecting data from your DB instead of writing the connection data explicitly. This is because Django's native ORM handles a lot of the SQL under the hood and using the ORM provides an additional security layer to protect your database