0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
django/docs/topics
Ramiro Morales f758bdab5e Fixed #18271 -- Changed stage at which TransactionTestCase flushes DB tables.
Previously, the flush was done before the test case execution and now
it is performed after it.

Other changes to the testing infrastructure include:

* TransactionTestCase now doesn't reset autoincrement sequences either
  (previous behavior can achieved by using `reset_sequences`.)
  With this, no implicit such reset is performed by any of the provided
  TestCase classes.

* New ordering of test cases: All unittest tes cases are run first and
  doctests are run at the end.

THse changes could be backward-incompatible with test cases that relied
on some kind of state being preserved between tests. Please read the
relevant sections of the release notes and testing documentation for
further details.

Thanks Andreas Pelme for the initial patch. Karen Tracey and Anssi
Kääriäinen for the feedback and Anssi for reviewing.

This also fixes #12408.
2012-07-24 17:24:16 -03:00
..
_images Added a diagram of the hierarchy of our TestCase subclasses to the testing docs. 2012-02-27 19:04:33 +00:00
class-based-views Fixed #18589 -- Typo in generic CBV docs. 2012-07-07 17:42:04 +02:00
db Fixed a misplaced Sphinx reference. 2012-07-14 12:32:39 +02:00
forms Fixed #14917 -- Hinted that view should redirect after form post success 2012-06-23 18:47:52 +02:00
http Fixed #3881 -- skip saving session when response status is 500 2012-07-16 20:57:55 +03:00
i18n Fixed #18625 -- Removed old-style use of url tag 2012-07-15 11:19:50 +02:00
auth.txt Fixed #18451 -- Vastly improved class based view documentation. 2012-06-11 10:40:23 +02:00
cache.txt Removed references to changes made in 1.2. 2012-06-07 15:02:35 +02:00
conditional-view-processing.txt Fixed many more ReST indentation errors, somehow accidentally missed from [16955] 2011-10-14 00:12:01 +00:00
email.txt Updated obsolete links in the documentation 2012-06-28 10:49:07 +02:00
files.txt Fixed #18154 -- Documentation on closing File objects and best practices 2012-06-19 09:56:10 +12:00
index.txt Fixed #18451 -- Vastly improved class based view documentation. 2012-06-11 10:40:23 +02:00
install.txt Fixed #18601 -- Specified that Python minimum version is 2.6.5 2012-07-13 17:33:13 +02:00
logging.txt Fixed #18601 -- Specified that Python minimum version is 2.6.5 2012-07-13 17:33:13 +02:00
pagination.txt Fixed pagination example wrt new next_page_number behavior 2012-06-09 18:07:30 +02:00
python3.txt Fixed a broken link in the Python 3 docs. 2012-07-22 19:48:10 +02:00
security.txt Rewrote security.txt SSL docs, noting SECURE_PROXY_SSL_HEADER. 2012-06-04 21:41:05 +01:00
serialization.txt Removed references to changes made in 1.2. 2012-06-07 15:02:35 +02:00
settings.txt Fix issue #18267 - document settings.configured property. 2012-05-16 16:13:39 +03:00
signals.txt Fixed #18454 -- Added ability to pass a list of signals to receiver. 2012-06-23 16:31:16 +02:00
signing.txt Replaced print statement by print function (forward compatibility syntax). 2012-04-30 20:45:03 +02:00
templates.txt Fixed #18125 -- Explained caveat with filters 2012-06-08 10:25:42 +02:00
testing.txt Fixed #18271 -- Changed stage at which TransactionTestCase flushes DB tables. 2012-07-24 17:24:16 -03:00