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_HOST = '127.0.0.1'
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.4.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file django-riak-sessions-0.0.4.tar.gz.

File metadata

File hashes

Hashes for django-riak-sessions-0.0.4.tar.gz
Algorithm Hash digest
SHA256 0c786edfa381dd129deeb57a479cfbfff82452c06320d193ef687aae1faac642
MD5 185ac0be94abe69407fcc0505e2b863a
BLAKE2b-256 d98920908a4d6081fff467b53afd3b7dd96aee0313cec358429d21fe341c3269

See more details on using hashes here.

Supported by

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