Wednesday, October 16, 2013

Django - To install django-toolbelt successfully

Before installing django-toolbelt you have to install those following dependencies:

$ sudo apt-get install python-dev python-psycopg2 libpq-dev


And then in the virtualenv:

(myven)trinh@trinh-pc:/path/to/django/project$ pip install django-toolbelt