/infosessions

InfoSessions

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

InfoSessions

Forked from https://github.com/martinrusev/django-redis-sessions

https://travis-ci.org/ernado/infosessions.svg?branch=master

Quick start

  1. Add "infosessions" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        ...
        'infosessions',
    )
    
  2. Configure django to use infosessions as session engine

    SESSION_ENGINE = 'infosessions.session'
    
  3. Add middleware to capture session information

    MIDDLEWARE_CLASSES = (
        ...
        'infosessions.middlewares.SessionSyncMiddleware',
    )
    
  4. Run python manage.py migrate infosessions to create the models.