Hi I'm getting the following error and cannot find anything in the forums 
that has helped me with AppEngine:

ImportError: No module named django.core.handlers.wsgi 

Here's my code
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'app.settings'

#import sys
#sys.path.append('lib')
#sys.path.append('//Library/Python/2.7/site-packages/django')
import django.core.handlers.wsgi

from requests_toolbelt.adapters import appengine
appengine.monkeypatch()

application = django.core.handlers.wsgi.WSGIHandler()


I tried manually adding django to the library but that didn't work either. 
I also tried going to the google_appengine django 1.5 library folder and 
doing a python setup.py but that didn't work either.

Any thoughs? I know Django is builtin to appengine just don't see where my 
system path issue is. 

I can do the following with no error

Python 2.7.10 (default, Oct 23 2015, 19:19:21) 

[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin

Type "help", "copyright", "credits" or "license" for more information.

>>> import django

>>> import django.core.handlers.wsgi


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/5217799a-0b5d-45f4-99e3-fa040da5b666%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine] I... Mak Ahmad
    • [google-appengi... Mak Ahmad
      • [google-app... 'Adam (Cloud Platform Support)' via Google App Engine
        • [google... Mak Ahmad
          • [go... 'Adam (Cloud Platform Support)' via Google App Engine
            • ... Mak Ahmad
              • ... 'Adam (Cloud Platform Support)' via Google App Engine
                • ... Mak Ahmad
                • ... 'Adam (Cloud Platform Support)' via Google App Engine
                • ... Mak Ahmad
                • ... 'Adam (Cloud Platform Support)' via Google App Engine

Reply via email to