summaryrefslogtreecommitdiff
path: root/django/db/migrations/exceptions.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-0/+6
|
* Simplified imports from django.db and django.contrib.gis.db.Nick Pope2020-02-041-1/+1
|
* Removed unnecessary trailing commas and spaces in various code.Mariusz Felisiak2017-12-281-1/+1
|
* Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan2017-02-281-21/+7
|
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-2/+0
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
|
* Fixed #25945, #26292 -- Refactored MigrationLoader.build_graph()Jarek Glowacki2016-05-081-1/+2
|
* Fixed #25850 -- Made migrate/makemigrations error on inconsistent history.Attila Tovt2016-04-051-0/+7
|
* Fixed #26342 -- Prevented unpacking when repr a NodeNotFoundErrorJarek Glowacki2016-03-101-1/+1
|
* Fixed #24743, #24745 -- Optimized migration plan handlingMarkus Holtermann2015-09-191-0/+4
| | | | | | | | | | | | | | | | The change partly goes back to the old behavior for forwards migrations which should reduce the amount of memory consumption (#24745). However, by the way the current state computation is done (there is no `state_backwards` on a migration class) this change cannot be applied to backwards migrations. Hence rolling back migrations still requires the precomputation and storage of the intermediate migration states. This improvement also implies that Django does not handle mixed migration plans anymore. Mixed plans consist of a list of migrations where some are being applied and others are being unapplied. Thanks Andrew Godwin, Josh Smeaton and Tim Graham for the review as well as everybody involved on the ticket that kept me looking into the issue.
* Fixed #24742 -- Made runserver.check_migrations ignore read-only databasesClaude Paroz2015-05-131-0/+5
| | | | | Thanks Luis Del Giudice for the report, and Aymeric Augustin and Markus Holtermann for the reviews.
* Moved migration exception classes to shared moduleMarkus Holtermann2015-05-021-0/+55
Thanks Aymeric Augustin for the review.