Commits

Author Commit Message Labels Comments Date
jmo...@robin
don't inadvertently set things with 'get_backend'
jmo...@robin
modify the creation of QueryCacheBackend so that you can always pull the canonical version by creating the class without arguments
jmo...@robin
adding `local` object to johnny.cache
jmo...@robin
adding LocalStoreClearMiddleware to middleware file
jmo...@robin
move `get_backend` into cache
jmo...@robin
add in a test to make sure that we aren't mistakenly passing lists back from the querycache when we shouldn't
jmo...@robin
change the way/place signals are defined, modify QueryCacheBackend1.1 to use the original rather than re-implement it
Jason Moiron
adding sphinx docs and nature theme; to build, pip install sphinx then cd docs && make html.
Jason Moiron
change disabling setting to be more consistent, added some custom signals (unused)
fin...@shadowstar
Fixes to tables for an insert query, fix for mis-imported compiler
fin...@shadowstar
Fixes to 1.2 querycache, change way it works with result_type, generate key using sql
Jason Moiron
changes to the README to make it accurate
Jason Moiron
fix a subtle bug in the middleware when using unpatch (which probably won't be often in the real world), add some objects to the fixtures, add foreign key testing and multi-table key expiry tests
Jason Moiron
add some more simple tests to the QueryCache 'SingleModelTest' class
Jason Moiron
modify hgignore to allow you to have a local dump of django in the proj directory (for editing/tracing)
Jason Moiron
get rid of some unnecessary code in `JohnnyTestCase`, make test pass (len(int) is bad)
Jason Moiron
fix the testing base classes (django's TestCase uses different hooks so that subclasses don't have to call super().setUp and super.tearDown), fix fixtures refering to non-existent objects
Jason Moiron
more testing wip, fix fixtures to refer to the right app labels
Jason Moiron
simple johnny-cache using tests (ie, being able to sync-db with johnny enabled, and passing queries through johnny) now pass on django 1.1.1
Jason Moiron
round off the QueryCacheMiddleware, add unpatching ability (this will make testing a bit easier)
Jason Moiron
correct a pretty gross oversight; we need to set and pull query-specific keys in order to cache queries :)
Jason Moiron
adding `get_generation` to handle any number of tables to the keyhandler, added a QueryCacheBackend11 class for django 1.1 support, with code mostly used from django.db.models.sql.query.Query.execute_sql
Jason Moiron
some comment, refactor to johnny.cache
Jason Moiron
import gettext as _ to pass tests
Jason Moiron
add person and persontype model to the book's basic-apps testapp
Jason Moiron
adding the johnny cache base test class, johnny.tests.base.JohnnyTestCase, and some basic fixtures (..base.johnny_fixtures) for all model-using johnny test cases
Jason Moiron
adding django-basic-library's book application to johnny's test suite
Jason Moiron
change import path to johnny to pass johnny tests
Jason Moiron
adding the rest of the testing application stuff, moving localstore tests to tests/localstore.py
Jason Moiron
moving towards a tests/__init__.py test setup, mentioned by julien in this ticket: http://code.djangoproject.com/ticket/7835#comment:21 This is for test-only johnny models
  1. Prev
  2. Next