django-test-db icon indicating copy to clipboard operation
django-test-db copied to clipboard

Auto discovery

Open mjtamlyn opened this issue 11 years ago • 0 comments

Implement the test_db decorator as per the README.

We probably want to spider all the models and keep a record of all the patches we need to apply to any individual model so we don't have to rework things.

Ideally I'd prefer a hook into Django to swap out a "query backend", but again this would need to be on a test by test basis so that tests using extra etc still work.

mjtamlyn avatar May 16 '13 07:05 mjtamlyn