Quixotix/gedit-django-project — pull request #5 by beachmachine (2012-07-14 10:49:23+00:00)
Title: VirtualEnv and custom settings module support

* VirtualEnv gets detected automatically by traversing from the project directory up to the filesystem root, searching for 'bin/activate_this.py'. If found, the module gets loaded.
* Custom settings module is supported by respecting DJANGO_SETTINGS_MODULE environment variable (defaults to 'settings'). This variable might get set by manage.py (Django 1.4+), so this module gets loaded too.