forked from Vostopia/django-inmemorystorage
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding test packaging, bumping version. Reanming.
- Loading branch information
1 parent
a69f03a
commit efd5663
Showing
5 changed files
with
86 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
*.py[cod] | ||
|
||
# Docs | ||
docs/_build | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Packages | ||
*.egg | ||
*.egg-info | ||
dist | ||
build | ||
eggs | ||
parts | ||
bin | ||
var | ||
sdist | ||
develop-eggs | ||
.installed.cfg | ||
lib | ||
lib64 | ||
|
||
# Installer logs | ||
pip-log.txt | ||
|
||
# Unit test / coverage reports | ||
.coverage | ||
.tox | ||
nosetests.xml | ||
|
||
# Translations | ||
*.mo | ||
|
||
# Mr Developer | ||
.mr.developer.cfg | ||
.project | ||
.pydevproject | ||
|
||
# PyCharm | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,28 @@ | ||
====================== | ||
django-inmemorystorage | ||
dj-inmemorystorage | ||
====================== | ||
|
||
A non-persistent in-memory data storage backend for Django. | ||
|
||
Compatible with Django's `storage API <https://docs.djangoproject.com/en/dev/ref/files/storage/>`_. | ||
|
||
===== | ||
Usage | ||
===== | ||
|
||
In your test settings file, add | ||
|
||
.. code:: python | ||
DEFAULT_FILE_STORAGE = 'inmemorystorage.InMemoryStorage' | ||
=========== | ||
Differences | ||
=========== | ||
|
||
This library is based on `django-inmemorystorage <https://github.com/codysoyland/django-inmemorystorage>`_ by Cody Soyland, | ||
with `modifications <https://github.com/SeanHayes/django-inmemorystorage>`_ made by Seán Hayes with support for the ``url`` method, | ||
with `additional support <https://github.com/Vostopia/django-inmemorystorage>`_ for writing. | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters