Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #25550 -- Deprecated direct assignment to the ↵ | Tim Graham | 2015-10-27 | 1 | -16/+17 |
| | | | | reverse side of a related set. | ||||
* | Refs #24351 -- Removed support for the old ↵ | Tim Graham | 2015-09-24 | 1 | -32/+0 |
| | | | | allow_migrate() signature per deprecation timeline. | ||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -109/+251 |
| | |||||
* | Fixed #18556 -- Allowed RelatedManager.add() to execute ↵ | Tim Graham | 2015-07-28 | 1 | -2/+13 |
| | | | | | | 1 query where possible. Thanks Loic Bistuer for review. | ||||
* | Fixed #21127 -- Started deprecation toward requiring ↵ | Flavio Curella | 2015-07-28 | 1 | -4/+4 |
| | | | | on_delete for ForeignKey/OneToOneField | ||||
* | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | 2015-06-24 | 1 | -2/+2 |
| | | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | ||||
* | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | 2015-05-20 | 1 | -2/+2 |
| | |||||
* | Fixed #24714 -- Used more specific assertions than ↵ | Alasdair Nicol | 2015-04-28 | 1 | -1/+1 |
| | | | | assertEqual in tests. | ||||
* | Fixed allow_migrate signature in one of the tests. | Loic Bistuer | 2015-02-21 | 1 | -1/+1 |
| | | | | Refs #24351. | ||||
* | Fixed #24351, #24346 -- Changed the signature of ↵ | Loic Bistuer | 2015-02-20 | 2 | -31/+65 |
| | | | | | | | | | | | | | | | | allow_migrate(). The new signature enables better support for routing RunPython and RunSQL operations, especially w.r.t. reusable and third-party apps. This commit also takes advantage of the deprecation cycle for the old signature to remove the backward incompatibility introduced in #22583; RunPython and RunSQL won't call allow_migrate() when when the router has the old signature. Thanks Aymeric Augustin and Tim Graham for helping shape up the patch. Refs 22583. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 2 | -3/+3 |
| | |||||
* | Removed support for initial_data fixtures per ↵ | Tim Graham | 2015-01-17 | 1 | -4/+2 |
| | | | | deprecation timeline. | ||||
* | Removed an incorrect docstring in ↵ | wrwrwr | 2014-12-01 | 1 | -1/+0 |
| | | | | tests/multiple_database/tests.py. | ||||
* | Removed a no-op statement in ↵ | wrwrwr | 2014-12-01 | 1 | -2/+0 |
| | | | | tests/multiple_database/tests.py. | ||||
* | Replaced router.routers usage with ↵ | wrwrwr | 2014-12-01 | 1 | -144/+82 |
| | | | | override_settings(DATABASE_ROUTERS); refs #23933. | ||||
* | Fixed #901 -- Added Model.refresh_from_db() method | Anssi Kääriäinen | 2014-11-28 | 1 | -0/+18 |
| | | | | | Thanks to github aliases dbrgn, carljm, slurms, dfunckt, and timgraham for reviews. | ||||
* | Fixed #23620 -- Used more specific assertions in the ↵ | Berker Peksag | 2014-11-03 | 1 | -1/+1 |
| | | | | Django test suite. | ||||
* | Fixed #10811 -- Made assigning unsaved objects to FK, ↵ | Anubhav Joshi | 2014-06-05 | 1 | -50/+1 |
| | | | | | | | | O2O, and GFK raise ValueError. This prevents silent data loss. Thanks Aymeric Augustin for the initial patch and Loic Bistuer for the review. | ||||
* | Fixed several typos in Django | Alex Gaynor | 2014-05-29 | 1 | -1/+1 |
| | |||||
* | Fixed #22667 -- Replaced leader/follower terminology ↵ | Flavio Curella | 2014-05-22 | 2 | -20/+20 |
| | | | | with primary/replica | ||||
* | replaced occurrences of master/slave terminology with ↵ | Flavio Curella | 2014-05-20 | 2 | -20/+20 |
| | | | | leader/follower | ||||
* | Fixed transaction handling for a number of operations on ↵ | Loic Bistuer | 2014-03-30 | 1 | -5/+10 |
| | | | | | | related objects. Thanks Anssi and Aymeric for the reviews. Refs #21174. | ||||
* | Cleaned up tests for multiple databases. | Loic Bistuer | 2014-03-30 | 1 | -55/+16 |
| | |||||
* | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | 2014-03-03 | 1 | -5/+5 |
| | | | | Thanks Piotr Kasprzyk for help with the patch. | ||||
* | Fixed #19774 -- Deprecated the contenttypes.generic module. | Simon Charette | 2014-01-26 | 1 | -3/+5 |
| | | | | | | | It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review. | ||||
* | Imported override_settings from its new location. | Aymeric Augustin | 2013-12-23 | 1 | -2/+1 |
| | |||||
* | PEP8 cleanup | Jason Myers | 2013-11-03 | 1 | -84/+96 |
| | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | ||||
* | PEP8 | Jason Myers | 2013-11-03 | 1 | -0/+6 |
| | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | ||||
* | Fixed all E261 warnings | coagulant | 2013-11-03 | 1 | -6/+6 |
| | |||||
* | Fixing E302 Errors | Jason Myers | 2013-11-03 | 1 | -15/+21 |
| | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | ||||
* | Fix all violators of E231 | Alex Gaynor | 2013-10-26 | 1 | -24/+24 |
| | |||||
* | Fixed E225 pep8 warnings. | Tim Graham | 2013-10-23 | 1 | -3/+3 |
| | |||||
* | Fixed E221 pep8 warnings. | Tim Graham | 2013-10-22 | 1 | -1/+1 |
| | |||||
* | Removed unused local variables in tests. | Tim Graham | 2013-10-19 | 1 | -27/+22 |
| | |||||
* | Fixed #21268 -- Fixed E303 pep8 warnings | Alasdair Nicol | 2013-10-18 | 1 | -5/+0 |
| | |||||
* | Fixed assorted flake8 errors. | Tim Graham | 2013-10-11 | 1 | -2/+2 |
| | |||||
* | Whitespace cleanup. | Tim Graham | 2013-10-10 | 1 | -1/+0 |
| | | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs. | ||||
* | Fixed "redefinition of unused 'foo' from line X" ↵ | Tim Graham | 2013-10-10 | 1 | -6/+6 |
| | | | | pyflakes warnings. | ||||
* | Fixed #21243 -- Corrected exception message in multiple ↵ | Russell Keith-Magee | 2013-10-09 | 1 | -2/+2 |
| | | | | | | database tests. Thanks to vajrasky for the report and patch. | ||||
* | Fixed #21174 -- transaction control in related manager ↵ | Anssi Kääriäinen | 2013-10-05 | 1 | -4/+7 |
| | | | | methods | ||||
* | Fixed Python 3.2 syntax errors; refs #13724. | Tim Graham | 2013-09-30 | 1 | -16/+16 |
| | |||||
* | Fixed #13724: Corrected routing of write queries ↵ | Russell Keith-Magee | 2013-09-30 | 1 | -0/+241 |
| | | | | | | | | | | | | | | | | | | | | involving managers. 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. | ||||
* | Isolated select_for_update tests a bit more. | Florian Apolloner | 2013-09-24 | 2 | -55/+62 |
| | | | | | | | This change prevents including the multiple_database test models without duplicating the router code (we probably should do this at one point). Refs #21148 | ||||
* | Updated syncdb -> migrate in tests. | Tim Graham | 2013-09-03 | 1 | -8/+8 |
| | |||||
* | Merge remote-tracking branch 'core/master' into ↵ | Andrew Godwin | 2013-08-09 | 2 | -3/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | schema-alteration 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 | ||||
| * | Removed most of absolute_import imports | Claude Paroz | 2013-07-29 | 2 | -3/+1 |
| | | | | | | | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | ||||
* | | Rename allow_syncdb to allow_migrate | Andrew Godwin | 2013-07-30 | 1 | -23/+23 |
|/ | |||||
* | Removed custom profile model functionality as per ↵ | Ramiro Morales | 2013-06-29 | 1 | -21/+0 |
| | | | | deprecation TL. | ||||
* | Fixed #20603 -- Made the test suite faster. | Aymeric Augustin | 2013-06-14 | 1 | -0/+6 |
| | | | | | | By avoiding to run syncdb with the full set of test models. Thanks Anssi for the idea. | ||||
* | Fixed a regression in router initialization | Claude Paroz | 2013-05-24 | 1 | -0/+27 |
| | | | | | Regression was introduced in 6a6bb168b. Thanks Bas Peschier for the report. |