Skip to main content

iron.io cache as Django sessions backend

Project description

Info:iron.io cache as Django sessions backend

Why new sessions backend with non free solution?!

Why not! iron.io is great service with awesome live support :)

iron.io provides 100mb and 10M API requests per month for free

10 000 000 / 30 / 24 / 60 / 60 it’s about 4 requests per seconds with 24/7 loading for your Django appliction

quick start

run:

heroku addons:add iron_cache:developer
pip install django-iron-sessions

configure set iron_sessions.session as your session engine:

SESSION_ENGINE = 'iron_sessions.session'

options:

IRON_CACHE_PROJECT_ID=<YOUR_PROJECT_ID>
IRON_CACHE_TOKEN=<YOUR_TOKEN>

if you are on heroku, just skip it

tests:

export IRON_CACHE_PROJECT_ID=<YOUR_PROJECT_ID>
export IRON_CACHE_TOKEN=<YOUR_TOKEN>
tox

Python 3.2+ Django 1.5+ ready, but currently iron_core and iron_cache have some issues with Python 3

Project details


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-iron-sessions-0.0.2.tar.gz (7.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page