Django tricks
Installing django
Installing django has become quite easy as it is now included in the
software repositories of two of the most common linux flavors, that
is, ubuntu and fedora.
To install django in ubuntu:
sudo apt-get install python-django
and to install in fedora:
sudo yum install Django
There are additional django packages that you may need.
In my use I've needed to use django-pagination and django-sorting.
In Fedora they are available in the repositories so they can be
installed with yum:
sudo yum install django-pagination django-sorting
To check if they have been installed correctly one can just run python
and check:
python
>>> import django
>>>import pagination
>>> import django_sorting
To install in mac OS-X Lion it's easy with setuptool.
Download Setup
Tools.
sudo python setup.py install
sudo easy_install django
sudo easy_install django
python
import django