mirror of
https://github.com/Hopiu/django-cachalot.git
synced 2026-03-16 21:30:23 +00:00
Version 0.4.0.
This commit is contained in:
parent
7bb8b93eb5
commit
05d0d077d6
4 changed files with 31 additions and 15 deletions
|
|
@ -1,6 +1,16 @@
|
|||
What’s new in django-cachalot?
|
||||
==============================
|
||||
|
||||
0.4
|
||||
---
|
||||
|
||||
- Adds Travis CI and adds compatibility for:
|
||||
|
||||
- Django 1.6 & 1.7
|
||||
- Python 2.6, 2.7, 3.2, 3.3, & 3.4
|
||||
- locmem & Redis
|
||||
- SQLite, PostgreSQL, MySQL
|
||||
|
||||
0.3
|
||||
---
|
||||
|
||||
|
|
|
|||
32
README.rst
32
README.rst
|
|
@ -3,7 +3,16 @@ Django-cachalot
|
|||
|
||||
Caches your Django ORM queries and automatically invalidates them.
|
||||
|
||||
**In alpha, do not use in production**
|
||||
Project status:
|
||||
|
||||
**Currently in beta, do not use in production**
|
||||
|
||||
.. image:: https://travis-ci.org/BertrandBordage/django-cachalot.png
|
||||
:target: https://travis-ci.org/BertrandBordage/django-cachalot
|
||||
|
||||
.. image:: https://coveralls.io/repos/BertrandBordage/django-cachalot/badge.png?branch=master
|
||||
:target: https://coveralls.io/r/BertrandBordage/django-cachalot?branch=master
|
||||
|
||||
|
||||
.. image:: https://raw.github.com/BertrandBordage/django-cachalot/master/django-cachalot.jpg
|
||||
|
||||
|
|
@ -14,15 +23,18 @@ Quick start
|
|||
Requirements
|
||||
............
|
||||
|
||||
Django-cachalot currently requires Django 1.6 or 1.7
|
||||
and `locmem <https://docs.djangoproject.com/en/1.7/topics/cache/#local-memory-caching>`_
|
||||
or `django-redis <https://github.com/niwibe/django-redis>`_ as your default
|
||||
cache backend. It should work with both Python 2 & 3.
|
||||
- Django 1.6 or 1.7
|
||||
- Python 2.6, 2.7, 3.2, 3.3, or 3.4
|
||||
- `locmem <https://docs.djangoproject.com/en/1.7/topics/cache/#local-memory-caching>`_
|
||||
or `django-redis <https://github.com/niwibe/django-redis>`_
|
||||
(memcached coming soon)
|
||||
- SQLite, PostgreSQL or MySQL (it should work with Oracle,
|
||||
but I don’t have 17.5k$ to test)
|
||||
|
||||
Usage
|
||||
.....
|
||||
|
||||
#. `pip install -e git+https://github.com/BertrandBordage/django-cachalot#egg=django-cachalot`
|
||||
#. ``pip install django-cachalot``
|
||||
#. Add ``'cachalot',`` to your ``INSTALLED_APPS``
|
||||
#. Enjoy!
|
||||
|
||||
|
|
@ -67,17 +79,11 @@ For version 1.0
|
|||
|
||||
- Find out if it’s thread-safe and test it
|
||||
- Write tests for `multi-table inheritance <https://docs.djangoproject.com/en/1.7/topics/db/models/#multi-table-inheritance>`_
|
||||
- Add support for other caches like memcached
|
||||
- Add memcached support
|
||||
- Handle multiple databases
|
||||
- Add invalidation on migrations in Django 1.7 (& South?)
|
||||
- Add a ``CACHALOT_ENABLED`` setting
|
||||
- Add a setting to choose a cache other than ``'default'``
|
||||
- Use a continuous integration service to test against:
|
||||
|
||||
- Python 2.7, 3.3, & 3.4
|
||||
- Django 1.6 & 1.7
|
||||
- PostgreSQL, SQLite, & MySQL
|
||||
- Redis, Memcached, LocMem
|
||||
|
||||
In a more distant future
|
||||
........................
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
__version__ = (0, 3, 0)
|
||||
__version__ = (0, 4, 0)
|
||||
version_string = '.'.join(str(n) for n in __version__)
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -21,7 +21,7 @@ setup(
|
|||
'and automatically invalidates them.',
|
||||
long_description=open('README.rst').read(),
|
||||
classifiers=[
|
||||
'Development Status :: 3 - Alpha',
|
||||
'Development Status :: 4 - Beta',
|
||||
'Framework :: Django',
|
||||
'Intended Audience :: Developers',
|
||||
'License :: OSI Approved :: BSD License',
|
||||
|
|
|
|||
Loading…
Reference in a new issue