Skip to content

nicholasserra/django-cached-json-db-session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Overview This session backend is experimental!

You can't store complex structures in this session backend. Data going in needs to be able to be JSON encoded. Classes, objects, etc can't be stored in session with this backend.

A JSON encoded cached db session backend for Django. Uses compressed JSON instead of pickling, easier to access in Node, etc. Still falls back to DB on a miss, but the DB encode and decode is duck punched to also use JSON and zlib.

#Usage In settings.py:

SESSION_ENGINE = 'cached_json_db'

About

An experimental django session backend to use json and zlib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages