| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-12-22 | Refs #27100 -- Removed obsolete message from tutorial and migrations topic. | Jacob Walls | |
| The project state is cached, so when it was calculated in #27100 during the pre-migrate stage, it was no longer calculated on forward migrations. Backward migrations still calculate it. | |||
| 2025-08-25 | Refs #36485 -- Rewrapped docs to 79 columns line length. | David Smith | |
| Lines in the docs files were manually adjusted to conform to the 79 columns limit per line (plus newline), improving readability and consistency across the content. | |||
| 2025-08-25 | Refs #36485 -- Removed unnecessary parentheses in :meth: and :func: roles in ↵ | David Smith | |
| docs. | |||
| 2025-06-11 | Made minor grammar and punctuation fixes in docs/topics/migrations.txt. | Clifford Gama | |
| 2025-03-31 | Fixed #36265 -- Added support for serialization of ZoneInfo instances in ↵ | Song Junho | |
| migrations. | |||
| 2025-01-22 | Fixed #24529 -- Allowed double squashing of migrations. | Georgi Yanchev | |
| Co-authored-by: Raphael Gaschignard <raphael@rtpg.co> | |||
| 2024-05-22 | Removed versionadded/changed annotations for 5.0. | Natalia | |
| This also removes remaining versionadded/changed annotations for older versions. | |||
| 2024-04-26 | Made confirmation prompt in squashmigrations consistent with other prompts. | Cole D | |
| Prior to this change, squashmigrations would use a [yN] prompt to ask for user confirmation. A slash was added between the yes/no options to make it consistent with other commands that print similar prompts. | |||
| 2024-01-17 | Fixed #31700 -- Made makemigrations command display meaningful symbols for ↵ | Amir Karimi | |
| each operation. | |||
| 2023-12-20 | Fixed #35015 -- Updated MySQL notes in migrations topic. | Nicolas Lupien | |
| 2023-09-18 | Removed versionadded/changed annotations for 4.2. | Mariusz Felisiak | |
| This also removes remaining versionadded/changed annotations for older versions. | |||
| 2023-09-13 | Fixed #34822 -- Added support for serializing functions decorated with ↵ | Nick Pope | |
| functools.lru_cache in migrations. `@functools.cache` and `@functools.lru_cache` return an object of type `functools._lru_cache_wrapper` which prevented the migrations serializer from working. Simply using the existing `FunctionTypeSerializer` for this additional type works as expected. | |||
| 2023-09-13 | Refs #34822 -- Added tests for serializing decorated functions in migrations. | Nick Pope | |
| Functions decorated with a decorator that is properly wrapped, e.g. by using `@functools.wraps`, are already supported. | |||
| 2023-06-03 | Refs #23528 -- Made cosmetic edits to swappable_dependency() docs. | Mariusz Felisiak | |
| 2023-06-02 | Fixed #23528 -- Doc'd django.db.migrations.swappable_dependency(). | DevilsAutumn | |
| 2023-03-01 | Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. | django-bot | |
| 2023-02-10 | Refs #34140 -- Applied rst code-block to non-Python examples. | Carlton Gibson | |
| Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for reviews. | |||
| 2023-01-17 | Removed versionadded/changed annotations for 4.1. | Mariusz Felisiak | |
| 2022-11-10 | Improved readability of string interpolation in frequently used examples in ↵ | Trey Hunner | |
| docs. | |||
| 2022-08-25 | Fixed #33916 -- Added support for serialization of enum.Flag in migrations. | Willem Van Onsem | |
| 2022-07-26 | Refs #27236 -- Reverted "Refs #27236 -- Added generic mechanism to handle ↵ | Mariusz Felisiak | |
| the deprecation of migration operations." This reverts commit 41019e48bbf082c985e6ba3bad34d118b903bff1. | |||
| 2022-07-08 | Refs #27236 -- Added generic mechanism to handle the deprecation of ↵ | David Wobrock | |
| migration operations. | |||
| 2022-05-04 | Fixed #33675 -- Dropped support for PostgreSQL 10 and PostGIS 2.4. | Mariusz Felisiak | |
| 2022-04-28 | Removed hyphen from pre-/re- prefixes. | David | |
| "prepopulate", "preload", and "preprocessing" are already in the spelling_wordlist. This also removes hyphen from double "e" combinations with "pre" and "re", e.g. preexisting, preempt, reestablish, or reenter. See also: - https://ahdictionary.com/word/search.html?q=rerun - https://ahdictionary.com/word/search.html?q=recreate - https://ahdictionary.com/word/search.html?q=predetermined - https://ahdictionary.com/word/search.html?q=reuse - https://ahdictionary.com/word/search.html?q=reopening | |||
| 2022-01-21 | Fixed #26760 -- Added --prune option to migrate command. | Jacob Walls | |
| 2021-09-20 | Removed versionadded/changed annotations for 3.2. | Mariusz Felisiak | |
| 2021-07-27 | Refs #32956 -- Changed "afterwards" to "afterward" in docs and comments. | David Smith | |
| 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. | |||
| 2021-05-29 | Fixed typos in comments and docs. | David Sanders | |
| 2020-10-29 | Fixed #26962 -- Doc'd running migrations in transactions. | Caio Ariede | |
| 2020-06-24 | Fixed #31529 -- Added support for serialization of pathlib.Path/PurePath and ↵ | Nick Pope | |
| os.PathLike in migrations. | |||
| 2020-03-25 | Improved docs on migration reversibility. (#12619) | Adam Johnson | |
| - Clarify reversibility for RunSQL and RunPython operations. - Add example for migrate with irreversible migration. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | |||
| 2019-11-08 | Fixed #30955 -- Doc'd that only concrete base models are stored in ↵ | Shipeng Feng | |
| historical models bases. Abstract models are removed from bases when generating historical model state since 6436f1fad9ce51f18735106ac75aeea3d6d1f310. | |||
| 2019-09-27 | Fixed #30597 -- Clarified how to unapply migrations. | David Vaz | |
| 2019-09-24 | Refs #27910 -- Doc'd support for enumeration types serialization in migrations. | Mariusz Felisiak | |
| 2019-09-24 | Refs #30350 -- Doc'd support for range serialization in migrations. | Mariusz Felisiak | |
| 2019-09-10 | Removed versionadded/changed annotations for 2.2. | Mariusz Felisiak | |
| 2019-09-06 | Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵ | Tobias Kunze | |
| involved difficulty. This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review. | |||
| 2019-02-13 | Fixed #30184 -- Removed ellipsis characters from shell output strings. | Dan Davis | |
| Partially reverted 50b8493581fea3d7137dd8db33bac7008868d23a (refs #29654) to avoid a crash when the user shell doesn't support non-ASCII characters. | |||
| 2019-01-28 | Refs #30033 -- Doc'd change regarding apps without migrations depending on ↵ | Tim Graham | |
| apps with migrations. The addition of self.connection.check_constraints() in 7289874adceec46b5367ec3157cdd10c711253a0 is the cause. | |||
| 2019-01-17 | Removed versionadded/changed annotations for 2.1. | Tim Graham | |
| 2019-01-11 | Refs #29738 -- Allowed registering serializers with MigrationWriter. | can | |
| 2018-11-26 | Updated docs for fast column creation with defaults in PostgreSQL 11. | Damian Dimmich | |
| 2018-10-11 | Fixed #29814 -- Added support for NoneType serialization in migrations. | Patrik Sletmo | |
| 2018-08-22 | Refs #29654 -- Replaced three dots with ellipsis character in output strings. | Claude Paroz | |
| 2018-07-31 | Removed code terms from docs/spelling_wordlist. | Tim Graham | |
| 2018-05-15 | Add clarifying section about historical migration models | Andrew Godwin | |
| 2017-12-06 | Fixed #28870 -- Added support for functools.partialmethod serialization in ↵ | Sergey Fedoseev | |
| migrations. | |||
| 2017-09-22 | Removed versionadded/changed annotations for 1.11. | Tim Graham | |
| 2017-07-26 | Fixed #28363 -- Allowed naming the migration generated by squashmigrations. | Melvyn Sopacua | |
| 2017-06-26 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Mariusz Felisiak | |
| Tests and docs complement to cecc079168e8669138728d31611ff3a1e7eb3a9f. | |||
