Skip to main content

rethinkdb backed sessions for django

Project description

https://travis-ci.org/MaxPresman/django-rethinkdb-sessions.png

Django session backend for rethinkdb.

Installation

  1. install the package by pypi

    pip install django-rethinkdb-sessions

  2. in django settings, switch the session over to rethinkdb-sessions

    SESSION_ENGINE = ‘rethinkdb_sessions.main’

  3. configure the following settings to adjust the rethinkdb enviorment
    • “SESSION_RETHINK_HOST” – host that rethinkdb is currently running on.

    • “SESSION_RETHINK_PORT” – current rethinkdb port

    • “SESSION_RETHINK_DB” – rethinkdb database

    • “SESSION_RETHINK_TABLE” – rethinkdb table

    • “SESSION_RETHINK_AUTH” – rethinkdb auth key (if exists)

Running Tests

Tests are included, invoke tests by running

“python tests/tests.py”

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-rethinkdb-sessions-0.0.3.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file django-rethinkdb-sessions-0.0.3.tar.gz.

File metadata

File hashes

Hashes for django-rethinkdb-sessions-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f65095a96048460da888e2a86a73ac9163a3fe5615821d30172cfdd0765d7b59
MD5 97b6ce43246d44e6adfe958c711452e3
BLAKE2b-256 da1ed8939c2d0dc2c9838caaab3b6683f9cbcb560a43d67590b261f64ef56a33

See more details on using hashes here.

Supported by

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