Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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',
}
}
}

Release History

This version
History Node

1.0

History Node

0.2

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
django_gae_backends-1.0-py2-none-any.whl
(8.0 kB) Copy SHA256 Hash SHA256
Wheel 2.7 May 22, 2016
django-gae-backends-1.0.tar.gz
(5.2 kB) Copy SHA256 Hash SHA256
Source None May 22, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting