Found out this afternoon that when I checked out the latest Django, I needed to patch the appengine_django package, very slightly. Simply needed to move the lines that set the "DJANGO_SETTINGS_MODULE" a few lines up to before the line that force Django to reload its settings. Around line 459. Note I did only try this on a local dev server, not yet on the actual GAE.
Index: __init__.py =================================================================== --- __init__.py (revision 74) +++ __init__.py (working copy) @@ -456,12 +456,12 @@ logging.getLogger().setLevel(logging.INFO) logging.debug("Loading the Google App Engine Helper for Django...") + # Must set this env var *before* importing any more of Django. + os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' + # Force Django to reload its settings. settings._target = None - # Must set this env var *before* importing any more of Django. - os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' - LoadAppengineEnvironment() InstallReplacementImpModule() InstallAppengineDatabaseBackend() --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---