Commits

Author Commit Message Labels Comments Date
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:
fin...@shadowstar
Fix some syntax bugs
fin...@shadowstar
added untested QueryCacheBackend, KeyGen, and KeyHandler.
jmo...@robin
some boilerplate for the generational maintenance middleware
jmo...@robin
adding tests for the localstore; tests all looking good with django's test framework (run manage.py test johnny); might want to move to nose at some point, but this is django specific so..
jmo...@robin
adding localstore implementation
jmo...@robin
adding stubs for johnny, adding setup.py and README resturctured text doc
  1. Prev
  2. Next