Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install django-redis-sessions

How to install django-redis-sessions

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install django-redis-sessions
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.2.3
0.4.0Never BuiltWhy not?
0.2.3 Available View build log
0.2.2 Available View build log
Windows (64-bit)
0.2.3
0.4.0Never BuiltWhy not?
0.2.3 Available View build log
0.2.2 Available View build log
Mac OS X (10.5+)
0.3.1
0.4.0Never BuiltWhy not?
0.3.1 Available View build log
0.2.3 Available View build log
0.2.2 Available View build log
Linux (32-bit)
0.3.1
0.4.0Never BuiltWhy not?
0.3.1 Available View build log
0.2.3 Available View build log
0.2.2 Available View build log
Linux (64-bit)
0.4.0 Available View build log
0.3.1 Available View build log
0.2.3 Available View build log
0.2.2 Available View build log
0.4.0 Available View build log
 
Author
License
BSD
Dependencies
Imports
Lastest release
version 0.4.0 on Sep 20th, 2013

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,

For Django < 1.4 run pip install django-redis-sessions==0.3

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

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

    SESSION_REDIS_HOST = 'localhost'
    SESSION_REDIS_PORT = 6379
    SESSION_REDIS_DB = 0
    SESSION_REDIS_PASSWORD = 'password'
    SESSION_REDIS_PREFIX = 'session'
    
    # If you prefer domain socket connection, you can just add this line instead of SESSION_REDIS_HOST and SESSION_REDIS_PORT.
    
    SESSION_REDIS_UNIX_DOMAIN_SOCKET_PATH = '/var/run/redis/redis.sock'
    
  3. That's it:

    System Message: WARNING/2 (<string>, line 31)

    Literal block expected; none found.

See: django-redis-sessions on pypi

  1. Tests:

    $ pip install django nose redis
    # Make sure you have redis running on localhost:6379
    $ nosetests
    

Subscribe to package updates

Last updated Sep 20th, 2013

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.