pip install django-redis-sessions==0.5.6
SESSION_ENGINE = 'redis_sessions.session' SESSION_REDIS_HOST = 'localhost' SESSION_REDIS_PORT = 6379 SESSION_REDIS_DB = 5 SESSION_REDIS_PASSWORD = '' SESSION_REDIS_PREFIX = 'session'