OK - I have it working. This is what you have to do:
1) Create a /lib directory under your project root. Create an empty
__init__.py file and copy it under /lib. Copy all libraries required
by your project in /lib (excluding django - referenced in your
app.yaml). This is the content of my /lib:
/lib
/apiclient
/grapelli_safe
/httplib2
/mezzanine
/oauth2client
/PIL
/__init__.py
/base.py
/gflags.py
/gflags_validators.py
2) Create the file fix_path.py and copy it to the root directory of
your project. Content of the file:
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), 'lib'))
3) Change the content of the file settings.py located in your project
root directory. You have to reference fix_path.py. Add:
import fix_path
4) In addition, change the ROOT_URLCONF located in settings.py:
#ROOT_URLCONF = "%s.urls" % PROJECT_DIRNAME
ROOT_URLCONF = "urls"
5) Follow the steps described here:
https://developers.google.com/cloud-sql/docs/django
I had terrible problems authenticating my local machine for accessing
my Google Cloud instance remotely. I end up copying my database schema
directly into Google Cloud.
You'll have to spend some time re-arranging all the static files and
directories accessed by your application.
Miguel
On Mar 20, 4:45 am, Stephen McDonald <
st...@jupo.org> wrote:
> Haven't tried it yet but the storages work was aimed at this type of thing.