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 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