I have found the diffuclty on 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 .
No any search results
You already invited:
1 Answers
Felix
Upvotes from:
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