django-cache-stocks est une application Django qui fournit la mise en cache automatique limitée et invalidation pour les modèles Django grâce à l'ORM. & Nbsp; Objets récupérés par .objects.get (pk = ..) ou .objects.get (id =. .) sont mis en cache par la clé primaire. En outre, il existe un moyen pour obtenir des objets avec les méthodes .objects.pk_in (liste_id) et .objects.id_in (liste_id).
Installation
Demandez-en [pypi] (http://pypi.python.org/pypi/django-cache-stockpile):
Bash PIP installer django-cache-stocks `
ou [github] (http://github.com/streeter/django-cache-stockpile):
Bash PIP installer git -e: //github.com/streeter/django-cache-stockpile.git#egg=django-cache-stockpile `
Tests en cours
Bash git clone git: //github.com/streeter/django-cache-stockpile.git cd django-cache-stocks pip installer -r requirements.txt python runtests.py `
Exigences :
- Python
- Django
Commentaires non trouvées