Python 2.7 django pip install django
to use mysql
pip install MySQL-Python
or maybe pip install mysqlclient
database example:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'helloworldp',
'USER': 'root',
# 'PASSWORD': '',
# 'HOST': '',
# 'PORT': '',
}
}
sudo apt-get install python-dev sudo pip install mysqlclient