Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hellysmile/django-iron-sessions

iron.io cache as Django sessions backend
https://github.com/hellysmile/django-iron-sessions

Last synced: about 11 hours ago
JSON representation

iron.io cache as Django sessions backend

Awesome Lists containing this project

README

        

django-iron-sessions
====================

: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=
IRON_CACHE_TOKEN=

*if you are on heroku, just skip it*

tests::

export IRON_CACHE_PROJECT_ID=
export IRON_CACHE_TOKEN=
tox

*Python 3.2+ Django 1.5+ ready,
but currently iron_core and iron_cache have some issues with Python 3,
you can check my forks*