Django with Mysql by mysqlclient

sudo apt-get install python3-dev libmysqlclient-dev
python3 -m pip install mysqlclient


virtualenv -p python3 env . env/bin/activate pip3 install django


pip3 install mysqlclient

OR Update it

pip3 install -U mysqlclient

django-admin startproject mysite .


Comments

Popular posts from this blog

Set up Django with apache

JWT auth is not working on apache server