stephenmcd/mezzanine — pull request #343 by lorin (2012-07-29 00:49:49+00:00)
Title: Add check to settings.py to prevent breaking fabric scripts.

Since fabfile.py can import settings.py, conditionally execute certain Django-related code only when DJANGO_SETTINGS_MODULE is set.

Fix for #336.