Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #29243 -- Improved efficiency of migration graph algorithm. | Krzysztof Gogolewski | 2018-09-10 | 1 | -55/+48 |
| | |||||
* | Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage(). | Morgan Aubert | 2018-05-09 | 1 | -12/+2 |
| | |||||
* | Removed unnecessary trailing commas and spaces in various code. | Mariusz Felisiak | 2017-12-28 | 1 | -1/+1 |
| | |||||
* | Added tests for various __repr__() methods. | Mads Jensen | 2017-02-04 | 1 | -1/+28 |
| | |||||
* | Removed unneeded force_text calls in the test suite | Claude Paroz | 2017-01-24 | 1 | -3/+2 |
| | |||||
* | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | 2016-11-10 | 1 | -2/+2 |
| | |||||
* | Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6. | Tim Graham | 2016-09-17 | 1 | -1/+1 |
| | | | | http://bugs.python.org/issue27364 | ||||
* | Fixed #25945, #26292 -- Refactored MigrationLoader.build_graph() | Jarek Glowacki | 2016-05-08 | 1 | -0/+116 |
| | |||||
* | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | 2016-01-29 | 1 | -8/+4 |
| | |||||
* | Fixed #25745 -- Promoted RuntimeWarnings to errors in the test suite. | Simon Charette | 2015-11-14 | 1 | -0/+2 |
| | |||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -3/+13 |
| | |||||
* | Fixed #24883 -- Added MigrationGraph.__repr__() | Yoong Kang Lim | 2015-06-01 | 1 | -0/+1 |
| | |||||
* | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | 2015-05-20 | 1 | -2/+2 |
| | |||||
* | Moved migration exception classes to shared module | Markus Holtermann | 2015-05-02 | 1 | -3/+3 |
| | | | | Thanks Aymeric Augustin for the review. | ||||
* | Refs #24366 -- Fixed recursion depth error in migration graph | Marten Kenbeek | 2015-03-29 | 1 | -7/+25 |
| | | | | | | Made MigrationGraph forwards_plan() and backwards_plan() fall back to an iterative approach in case the recursive approach exceeds the recursion depth limit. | ||||
* | Refs #24366 -- Renamed arguments in MigrationGraph, renamed tests | Marten Kenbeek | 2015-03-29 | 1 | -2/+2 |
| | |||||
* | Fixed #24366 -- Optimized traversal of large migration dependency graphs. | Marten Kenbeek | 2015-02-23 | 1 | -2/+20 |
| | | | | | | | | | | | Switched from an adjancency list and uncached, iterative depth-first search to a Node-based design with direct parent/child links and a cached, recursive depth-first search. With this change, calculating a migration plan for a large graph takes several seconds instead of several hours. Marked test `migrations.test_graph.GraphTests.test_dfs` as an expected failure due to reaching the maximum recursion depth. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -1/+3 |
| | |||||
* | Fixed #24017 -- Added python_2_unicode_compatible in db/migrations | Josh Schneier | 2014-12-21 | 1 | -1/+17 |
| | |||||
* | Fixed flake8 warnings. | Tim Graham | 2014-11-25 | 1 | -3/+3 |
| | |||||
* | Fixed bug in circular dependency algo for migration dependencies. | Luke Plant | 2014-11-25 | 1 | -0/+14 |
| | | | | | | | | | | Previous algo only worked if the first item was a part of the loop, and you would get an infinite loop otherwise (see test). To fix this, it was much easier to do a pre-pass. A bonus is that you now get an error message that actually helps you debug the dependency problem. | ||||
* | Fixed #23835: Changed circular dependency in DFS to be less infinite | Andrew Godwin | 2014-11-15 | 1 | -0/+27 |
| | |||||
* | Fixed #23556 -- Raised a more meaningful error message when migrations refer ↵ | Markus Holtermann | 2014-10-30 | 1 | -5/+5 |
| | | | | to an unavailable node | ||||
* | Corrected grammar in migrations error message. | Markus Bertheau | 2014-09-10 | 1 | -2/+4 |
| | |||||
* | Fix Python 3 incompatability | Andrew Godwin | 2014-09-05 | 1 | -1/+1 |
| | |||||
* | switch out recursive dfs for stack based approach, to avoid possibly ↵ | Ben Reilly | 2014-09-05 | 1 | -0/+15 |
| | | | | hitting the recursion limit | ||||
* | Fixed #23341 -- Added migration name to nonexistent migration error in ↵ | Raffaele Salmaso | 2014-08-23 | 1 | -19/+44 |
| | | | | makemigrations. | ||||
* | Fixed #23352 -- Added tests for MigrationGraph.{forwards,backwards}_plan | Raffaele Salmaso | 2014-08-23 | 1 | -0/+13 |
| | |||||
* | Fixed #22861: Internal migrations done first so __first__ works | Andrew Godwin | 2014-06-17 | 1 | -4/+4 |
| | | | | Thanks to Chris Beaven. | ||||
* | Fix graph tests | Andrew Godwin | 2013-05-30 | 1 | -0/+19 |
| | |||||
* | Start adding operations that work and tests for them | Andrew Godwin | 2013-05-29 | 1 | -22/+2 |
| | |||||
* | Split up test and make the State classes a bit better. | Andrew Godwin | 2013-05-18 | 1 | -0/+136 |