django1/docs/topics
Karen Tracey 344f16e220 Fixed #8138 -- Changed django.test.TestCase to rollback tests (when the database supports it) instead of flushing and reloading the database. This can substantially reduce the time it takes to run large test suites.
This change may be slightly backwards incompatible, if existing tests need to test transactional behavior, or if they rely on invalid assumptions or a specific test case ordering.  For the first case, django.test.TransactionTestCase should be used.  TransactionTestCase is also a quick fix to get around test case errors revealed by the new rollback approach, but a better long-term fix is to correct the test case.  See the testing doc for full details.

Many thanks to:
* Marc Remolt for the initial proposal and implementation.
* Luke Plant for initial testing and improving the implementation.
* Ramiro Morales for feedback and help with tracking down a mysterious PostgreSQL issue.
* Eric Holscher for feedback regarding the effect of the change on the Ellington testsuite.
* Russell Keith-Magee for guidance and feedback from beginning to end.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9756 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-16 02:30:22 +00:00
..
db Fixed #10042 -- YAADT (Aggregation Docs Typo). 2009-01-16 00:02:35 +00:00
forms Fixed #9884 -- Corrected template example in model forms documentation, thanks bradmontgomery. 2008-12-23 05:20:49 +00:00
http Fixed a long line, a typo, and a few misspellings from [9727]. 2009-01-11 05:47:06 +00:00
auth.txt Added some documentation explaining (1) that it's possible to add users via the Django admin site, and (2) that in order to be able to add users via the admin site, you need to have both 'add user' and 'change user' permissions. Refs #9866 2008-12-25 06:19:14 +00:00
cache.txt Fixed #9740 -- Updated and correct usage of max_entries in cache documentation. 2008-12-03 05:49:37 +00:00
email.txt Fixed #9487 -- Corrected several links into the Python docs that were broken by the recent Python docs refactor. 2008-11-01 19:02:09 +00:00
files.txt Fixed #9904 -- Corrected name of storage method in files documentation. 2008-12-22 23:21:32 +00:00
i18n.txt Fixed #9477 -- Removed and edited a bunch of references to "development 2008-11-15 05:51:25 +00:00
index.txt Fixed #8326: added signals documentation. 2008-08-26 19:04:52 +00:00
install.txt Refs #9935: Added a note in the documentation to the effect that Django currently requires a 4.X release of cx_Oracle. 2009-01-06 18:22:07 +00:00
pagination.txt Fixed #9215 -- Added a view/template example of using pagination. 2008-10-07 11:51:14 +00:00
serialization.txt Upgraded included simplejson to 2.0.7. 2009-01-06 05:13:02 +00:00
settings.txt Fixed #6979 -- Fixed the documentation cross-reference between the TIME_ZONE 2008-10-06 11:18:30 +00:00
signals.txt Fixed #8326: added signals documentation. 2008-08-26 19:04:52 +00:00
templates.txt Minor typo correction from [9279]. 2008-10-26 03:10:13 +00:00
testing.txt Fixed #8138 -- Changed django.test.TestCase to rollback tests (when the database supports it) instead of flushing and reloading the database. This can substantially reduce the time it takes to run large test suites. 2009-01-16 02:30:22 +00:00