How to setup Database in Django?
To setup database in Django, follow the following steps -
- Install MySQL, which can be used as a database.
- Create initial Django Project.
- Edit settings as per the requirements.
- Install MySQL Database Connector.
- Create the database (as per the requirements).
- Add the MySQL Database connection to our application.
- Test MySQL connection to our application.