natea / django-deployer

Deployment tool for Django that automatically generates the configuration to deploy your project to various PaaS providers.
http://natea.github.io/django-deployer
MIT License
150 stars 19 forks source link

mezzanine settings.TESTING not found #19

Closed littleq0903 closed 11 years ago

littleq0903 commented 11 years ago

Actually I solved this problem now, but i think this is worth to record, so I open this issue, then I will close it by myself.

the reason caused this problem is ordering between sys.path insertion and from settings import * in settings_appengine.py

because we will use things from mezzanine in settings, so we better insert lib path into sys.path before we run from settings import *, or in settings runtime will find nothing and raise the exception not finding out mezzanine.

littleq0903 commented 11 years ago

solved and pushed in master branch