jeffbaier / django-redis-sessions

Session backend for Django that stores sessions in a Redis database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django-redis-sessions

Redis database backend for your sessions

Installation

  1. Run pip install django-redis-sessions or alternatively download the tarball and run python setup.py install,

  2. Set redis_sessions.session as your session engine, like so:

    SESSION_ENGINE = 'redis_sessions.session'
    
  3. Optional settings:

    SESSION_REDIS_HOST = 'localhost'
    SESSION_REDIS_PORT = 6379
    SESSION_REDIS_DB = 0
    SESSION_REDIS_PASSWORD = 'password'
    SESSION_REDIS_PREFIX = 'session'
    
  4. That's it

See: http://pypi.python.org/pypi/django-redis-sessions

About

Session backend for Django that stores sessions in a Redis database

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%