Skip to main content

Riak session backend for django

Project description

Installation

pip install django-riak-sessions

Configuration

  • Add riak_sessions to your installed apps

  • Add the session engine to your settings:

    SESSION_ENGINE = 'riak_sessions.backends.riak'

Optional Configuration

There are a couple of optional configuration values. The default values are as follows:

import riak
RIAK_PORT = 8087
RIAK_TRANSPORT_CLASS = riak.RiakPbcTransport
RIAK_BUCKET = 'django-riak-sessions'
RIAK_SESSION_KEY = 'session:%(session_key)s'

Project details


Download files

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

Source Distribution

django-riak-sessions-0.0.2.tar.gz (3.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page