Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -12/+26 |
| | |||||
* | Refs #32956 -- Changed "afterwards" to "afterward" in docs and comments. | David Smith | 2021-07-27 | 1 | -1/+1 |
| | | | | | | This also removes unnecessary comments with the previous spelling. AP Stylebook has a short entry to advise the preferred spelling for "en-us". "Afterwards" is preferred in British English. | ||||
* | Refs #29784 -- Switched to https:// links where available. | Jon Dufresne | 2018-09-26 | 1 | -1/+1 |
| | |||||
* | Fixed #29243 -- Improved efficiency of migration graph algorithm. | Krzysztof Gogolewski | 2018-09-10 | 1 | -92/+29 |
| | |||||
* | Fixed #29180 -- Fixed a regression where migrations already in the plan were ↵ | Carlton Gibson | 2018-03-09 | 1 | -1/+1 |
| | | | | | | readded. Regression in a38ae914d89809aed6d79337b74a8b31b6d3849a. | ||||
* | Refs #29180 -- Added MigrationGraph._generate_plan() for testing. | Carlton Gibson | 2018-03-09 | 1 | -5/+9 |
| | |||||
* | Fixed #28996 -- Simplified some boolean constructs and removed trivial ↵ | Дилян Палаузов | 2018-01-12 | 1 | -3/+1 |
| | | | | continue statements. | ||||
* | Fixed #28984 -- Made assorted code simplifications. | Tim Graham | 2018-01-03 | 1 | -2/+2 |
| | |||||
* | Removed unnecessary trailing commas and spaces in various code. | Mariusz Felisiak | 2017-12-28 | 1 | -4/+4 |
| | |||||
* | Fixed #28860 -- Removed unnecessary len() calls. | Дилян Палаузов | 2017-12-04 | 1 | -1/+1 |
| | |||||
* | Simplified migrations.graph.Node.iterative_dfs(), ancestors(), and ↵ | Sergey Fedoseev | 2017-08-23 | 1 | -24/+14 |
| | | | | descendants(). | ||||
* | Refs #27656 -- Updated django.db docstring verbs according to PEP 257. | Anton Samarchyan | 2017-02-28 | 1 | -27/+22 |
| | |||||
* | Refs #27546 -- Removed hardcoded class names in __repr__() methods. | Mads Jensen | 2017-02-04 | 1 | -4/+1 |
| | |||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Replaced six.reraise by raise | Claude Paroz | 2017-01-22 | 1 | -16/+6 |
| | |||||
* | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | 2017-01-19 | 1 | -2/+2 |
| | |||||
* | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | 2017-01-18 | 1 | -3/+0 |
| | |||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Fixed #25945, #26292 -- Refactored MigrationLoader.build_graph() | Jarek Glowacki | 2016-05-08 | 1 | -11/+142 |
| | |||||
* | Fixed W503 flake8 warnings. | Tim Graham | 2016-04-04 | 1 | -4/+2 |
| | |||||
* | Removed django.utils.functional.total_ordering() | Tim Graham | 2015-06-15 | 1 | -1/+1 |
| | |||||
* | Fixed #24883 -- Added MigrationGraph.__repr__() | Yoong Kang Lim | 2015-06-01 | 1 | -4/+8 |
| | |||||
* | Moved migration exception classes to shared module | Markus Holtermann | 2015-05-02 | 1 | -24/+2 |
| | | | | Thanks Aymeric Augustin for the review. | ||||
* | Fixed #24554 -- Sped up migrations by rendering initial apps when they are ↵ | Markus Holtermann | 2015-04-01 | 1 | -1/+1 |
| | | | | | | | | | | first needed Calling Migration.mutate_state() now also allows to do in_place mutations in case an intermediate state is thrown away later. Thanks Anssi Kääriäinen for the idea, Ryan Hall for parts of the patch, and Claude Paroz and Tim Graham for the review | ||||
* | Refs #24366 -- Fixed recursion depth error in migration graph | Marten Kenbeek | 2015-03-29 | 1 | -2/+43 |
| | | | | | | 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 | -10/+12 |
| | |||||
* | Fixed #24366 -- Optimized traversal of large migration dependency graphs. | Marten Kenbeek | 2015-02-23 | 1 | -30/+91 |
| | | | | | | | | | | | 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 | -0/+1 |
| | |||||
* | Fixed #24017 -- Added python_2_unicode_compatible in db/migrations | Josh Schneier | 2014-12-21 | 1 | -2/+3 |
| | |||||
* | Fixed bug in circular dependency algo for migration dependencies. | Luke Plant | 2014-11-25 | 1 | -10/+21 |
| | | | | | | | | | | 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. | ||||
* | Merge pull request #3536 from Zweedeend/ticket_23837 | Carl Meyer | 2014-11-15 | 1 | -7/+10 |
|\ | | | | | Fixes #23837: Replace list with deque in migration-planner for improved performance. | ||||
| * | Fixes #23837: Replace list.pop(0) by deque.popleft() in dfs function in ↵ | Niels Kouwenhoven | 2014-11-15 | 1 | -7/+10 |
| | | | | | | | | migrations | ||||
* | | Fixed #23835: Changed circular dependency in DFS to be less infinite | Andrew Godwin | 2014-11-15 | 1 | -2/+2 |
|/ | |||||
* | Fixed #23556 -- Raised a more meaningful error message when migrations refer ↵ | Markus Holtermann | 2014-10-30 | 1 | -7/+27 |
| | | | | to an unavailable node | ||||
* | Limited lines to 119 characters in django/{contrib,db}. | Berker Peksag | 2014-10-29 | 1 | -5/+14 |
| | | | | Refs #23395. | ||||
* | Corrected grammar in migrations error message. | Markus Bertheau | 2014-09-10 | 1 | -2/+2 |
| | |||||
* | switch out recursive dfs for stack based approach, to avoid possibly ↵ | Ben Reilly | 2014-09-05 | 1 | -25/+20 |
| | | | | hitting the recursion limit | ||||
* | Fixed #23341 -- Added migration name to nonexistent migration error in ↵ | Raffaele Salmaso | 2014-08-23 | 1 | -3/+3 |
| | | | | makemigrations. | ||||
* | Fixed #22861: Internal migrations done first so __first__ works | Andrew Godwin | 2014-06-17 | 1 | -2/+2 |
| | | | | Thanks to Chris Beaven. | ||||
* | Added a bunch of missing unicode_literals | Claude Paroz | 2014-05-06 | 1 | -0/+2 |
| | | | | Refs #22564. | ||||
* | Fixed #22485: Include all unmigrated apps in project state by default. | Andrew Godwin | 2014-04-30 | 1 | -2/+2 |
| | |||||
* | Fixed #21142: Dependency failures on unmigrated apps. | Andrew Godwin | 2014-01-08 | 1 | -2/+5 |
| | |||||
* | Fixed #21298 -- Fixed E301 pep8 warnings | Alasdair Nicol | 2013-10-23 | 1 | -0/+1 |
| | |||||
* | Add --list option to migrate command | Andrew Godwin | 2013-09-06 | 1 | -2/+2 |
| | |||||
* | Docs tweaks (thanks timgraham) | Andrew Godwin | 2013-08-10 | 1 | -4/+4 |
| | |||||
* | Fix Python 3 support | Andrew Godwin | 2013-07-26 | 1 | -2/+2 |
| | |||||
* | First stab at some migration creation commands | Andrew Godwin | 2013-06-19 | 1 | -3/+8 |
| | |||||
* | Auto-naming for migrations and some writer fixes | Andrew Godwin | 2013-06-07 | 1 | -5/+11 |
| | |||||
* | Allow retrieval of project state at start of migrations | Andrew Godwin | 2013-05-30 | 1 | -1/+4 |
| | |||||
* | Start adding operations that work and tests for them | Andrew Godwin | 2013-05-29 | 1 | -2/+15 |
| |