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'
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-riak-sessions-0.0.4.tar.gz.
File metadata
- Download URL: django-riak-sessions-0.0.4.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c786edfa381dd129deeb57a479cfbfff82452c06320d193ef687aae1faac642
|
|
| MD5 |
185ac0be94abe69407fcc0505e2b863a
|
|
| BLAKE2b-256 |
d98920908a4d6081fff467b53afd3b7dd96aee0313cec358429d21fe341c3269
|