Skip to content

a library to support session data backed by the awesome rethinkDB database.

License

Notifications You must be signed in to change notification settings

MaxPresman/django-rethinkdb-sessions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-rethinkdb-sessions

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"

About

a library to support session data backed by the awesome rethinkDB database.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages