The Guide Show How-to Configure a Python Django Virtualenv 1.8.4 to Work with MySQL and PostreSQL Databases on Mac OS X.
The tutorial make use of pip, virtualenv and virtualenvwrapper to Configure Python Virtualenvs for Mac OS X.
The Content is Expressly Reduced to Give Focus Only to Essential and Practical Steps and Commands :)
How-to Install Python Virtualenv on Mac OS X:
Python-Virtualenv Mac OS X
cd <path-to-your-virtualenv-directory>
Example:
cd ~/.virtualenv
Now to Make a Virtual Environment Sand-Box for your Django Installation:
virtualenv --no-site-packages django1.2.1
Activating the New Created Virtualenv Environment:
source django1.2.1/bin/activate
Installing Django for the Newly Activated Virtual-Environment:
pip install django==1.2.1
Provide to install the adapter for MySQL:
easy_install -U distribute
sudo pip install MySQL-python
And for Postgresql:
sudo pip install psycopg2
After you are Ready to work with Django, Postgresql and MySQL on Mac OS X .)