skip to navigation
skip to content

Not Logged In

dj-inmemorystorage 1.0.3

A non-persistent in-memory data storage backend for Django.

Latest Version: 1.3.0

dj-inmemorystorage

A non-persistent in-memory data storage backend for Django.

Compatible with Django’s storage API.

Supported Versions

Python 2.6/2.7 with Django 1.4+ Python 3.2/3.3 with Django 1.5+

Usage

In your test settings file, add

DEFAULT_FILE_STORAGE = 'inmemorystorage.InMemoryStorage'

Differences

This library is based on django-inmemorystorage by Cody Soyland, with modifications made by Seán Hayes with support for the url method, with additional support from Tore Birkeland for writing to the file.

Wave’s modifications include packaging, and test modifications such that python setup.py test works. This version also bumps the version to 1.0.0 and renames it to dj-inmemorystorage such that it doesn’t conflict on PyPI.

The biggest difference is that this package works with Django 1.4 now (previously only 1.5+). It also supports Python 2.6/2.7 with Django 1.4+ and Python 3.2/3.3 with Django 1.5+.

Contributing

  1. Ensure that you open a pull request
  2. All feature additions/bug fixes MUST include tests
 
File Type Py Version Uploaded on Size
dj-inmemorystorage-1.0.3.tar.gz (md5) Source 2014-03-04 5KB
dj_inmemorystorage-1.0.3-py2.py3-none-any.whl (md5) Python Wheel 2.7 2014-03-04 7KB
  • Downloads (All Versions):
  • 15 downloads in the last day
  • 311 downloads in the last week
  • 1763 downloads in the last month