summaryrefslogtreecommitdiff
path: root/tests/multiple_database
AgeCommit message (Collapse)Author
2014-03-30Fixed transaction handling for a number of operations on related objects.Loic Bistuer
Thanks Anssi and Aymeric for the reviews. Refs #21174.
2014-03-30Cleaned up tests for multiple databases.Loic Bistuer
2014-03-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
Thanks Piotr Kasprzyk for help with the patch.
2014-01-26Fixed #19774 -- Deprecated the contenttypes.generic module.Simon Charette
It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review.
2013-12-23Imported override_settings from its new location.Aymeric Augustin
2013-11-02PEP8 cleanupJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02PEP8Jason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02Fixed all E261 warningscoagulant
2013-11-02Fixing E302 ErrorsJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-10-26Fix all violators of E231Alex Gaynor
2013-10-23Fixed E225 pep8 warnings.Tim Graham
2013-10-22Fixed E221 pep8 warnings.Tim Graham
2013-10-19Removed unused local variables in tests.Tim Graham
2013-10-18Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol
2013-10-11Fixed assorted flake8 errors.Tim Graham
2013-10-10Whitespace cleanup.Tim Graham
* Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
2013-10-10Fixed "redefinition of unused 'foo' from line X" pyflakes warnings.Tim Graham
2013-10-09Fixed #21243 -- Corrected exception message in multiple database tests.Russell Keith-Magee
Thanks to vajrasky for the report and patch.
2013-10-05Fixed #21174 -- transaction control in related manager methodsAnssi Kääriäinen
2013-09-30Fixed Python 3.2 syntax errors; refs #13724.Tim Graham
2013-09-30Fixed #13724: Corrected routing of write queries involving managers.Russell Keith-Magee
Previously, if a database request spanned a related object manager, the first manager encountered would cause a request to the router, and this would bind all subsequent queries to the same database returned by the router. Unfortunately, the first router query would be performed using a read request to the router, resulting in bad routing information being used if the subsequent query was actually a write. This change defers the call to the router until the final query is acutally made. It includes a small *BACKWARDS INCOMPATIBILITY* on an edge case - see the release notes for details. Thanks to Paul Collins (@paulcollinsiii) for the excellent debugging work and patch.
2013-09-24Isolated select_for_update tests a bit more.Florian Apolloner
This change prevents including the multiple_database test models without duplicating the router code (we probably should do this at one point). Refs #21148
2013-09-03Updated syncdb -> migrate in tests.Tim Graham
2013-08-09Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin
Conflicts: django/core/management/commands/flush.py django/core/management/commands/syncdb.py django/db/models/loading.py docs/internals/deprecation.txt docs/ref/django-admin.txt docs/releases/1.7.txt
2013-07-30Rename allow_syncdb to allow_migrateAndrew Godwin
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-06-28Removed custom profile model functionality as per deprecation TL.Ramiro Morales
2013-06-14Fixed #20603 -- Made the test suite faster.Aymeric Augustin
By avoiding to run syncdb with the full set of test models. Thanks Anssi for the idea.
2013-05-24Fixed a regression in router initializationClaude Paroz
Regression was introduced in 6a6bb168b. Thanks Bas Peschier for the report.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner