appengine_config.py at the top level of your project is automatically imported using google.appengine.ext.webapp.util.run_wsgi_app() to add an intermediate layer to webapp applications. The snippet you are associated with should be sufficient to load django 1.2.
Just paste it in appengine_config.py and in your main.py (or everywhere):
application = webapp.WSGIApplication([your_mappings]) run_wsgi_app(application)
Note that if you are not loading underwear such as appstats into appengine_config.py, you can simply route the use_library() call directly to main.py; the key must be sure that it is always loaded before django is loaded from another location in this instance.
geoffspear
source share