Install postgresql on mac for django

broken image

The bin directory within the django folder (which is inside django_trunk itself) contains several management utilities. Of course, change it to the full path location of the directory on your filesystem. Within this file, place only one line containing the path to your django_trunk folder. Library/Python/2.5/site-packages/django.pth What you need to do is inform Python about the location of your django_trunk directory. You can verify this by running python in the Terminal (use exit() to get out of the python shell). Mac OS X 10.5 already ships with Python 2.5.1, thus you won’t have to install it. The development code is also rather stable and used by most people in production mode, even for sites like the Washington Post. The reason for this is that the trunk version implements a few new features. MacPorts is not required for this how-to.įirst and foremost, we are going to install Django from its svn repository, as opposed to obtaining the 0.96 release archive. I’m writing about this for the benefit of those of you who may attempt and struggle with this feat.

broken image

Installing Django on Mac OS X Leopard is supposed to be very straightforward, but if you are new to it, you may encounter a few puzzling questions and, in the case of MySQL, even a couple of headaches.