how to connect your database to your website in python django code example
Example 1: link django to mysql
$ brew reinstall openssl
#run two commands under "For compilers to find [email protected] you may need to set:"
$ pip install mysqlclient
Example 2: database setup in django
sudo apt install python3-dev libmysqlclient-dev default-libmysqlclient-dev