Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

This is a session backend for Django that stores sessions in Cassandra, using the pycassa library.

Project description

This is a session backend for Django that stores sessions in Cassandra, using the pycassa library.

Installing django-cassandra-sessions

  1. Either download the tarball and run python setup.py install, or simply use easy install or pip like so easy_install django-cassandra-sessions.

  2. Set cassandra_sessions as your session engine, like so:

    SESSION_ENGINE = 'cassandra_sessions'
    
  3. (optional) Add settings describing where to connect to Cassandra:

    CASSANDRA_HOSTS = ['127.0.0.1:9160',]
    CASSANDRA_SESSIONS_KEYSPACE = 'Keyspace1'
    CASSANDRA_SESSIONS_COLUMN_FAMILY = 'Standard1'
    

Project details


Release history Release notifications

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page