Fix location of Django.
Add support for running tests.