Skip to main content

UNKNOWN

Project description

A collection a django backends for the Google App Engine

Features:
- memcache/datastore session backend
- email backend
- cache backend
- rdbms for migrations

TODO:
- file storage base in the Google Cloud Storage

Setup
=====
Add to the settings.py the following lines to install the backends:

SESSION_ENGINE = "gae_backends.sessions.cached_db"
EMAIL_BACKEND = "gae_backends.mail.EmailBackend"
CACHES = {
'default': {
'BACKEND': 'gae_backends.memcache.MemcacheCache',
}
}

if os.getenv('SETTINGS_MODE') == 'prod':
# Running in development, but want to access the Google Cloud SQL instance
# in production.
DATABASES = {
'default': {
'ENGINE': 'gae_backends.rdbms',
'INSTANCE': 'your_instance:your_db',
'NAME': '....',
'USER': '....',
'OPTIONS': {
'init_command': 'SET storage_engine=INNODB',
}
}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-gae-backends-1.0.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

django_gae_backends-1.0-py2-none-any.whl (8.0 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page