Topics include: programming, Apple, Unix, gadgets, large-scale web sites and other nerdy stuff.

Notes on setting up Django on Mac OS X

2014-01-22 12:54:45

I couldn't find a macports package, so I downloaded directly from the Django site.

Then I ran into a problem connect to MySQL (really MariaDB); the python mysql package apparently isn't in the Mac OS X python by default.

The macports package isn't named python-mysql or mysql-python. It's:

port install py27-mysql

Bu then that tries to pull in mysql5, which I don't want because I have mariadb.