summaryrefslogtreecommitdiff
path: root/django/db/migrations/writer.py
AgeCommit message (Expand)Author
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-04-16Fixed #36274 -- Added support for run_before and atomic in MigrationWriter.Mikuláš Poul
2023-07-12Fixed #34697 -- Fixed non-deterministic order of dependencies and sets/frozen...Yury V. Zaytsev
2023-03-20Fixed #34420 -- Corrected the order of imports in generated migration files.Andy Chosak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2019-01-31Fixed #30147 -- Simplified directory creation with os.makedirs(..., exist_ok=...Jon Dufresne
2019-01-11Refs #29738 -- Allowed registering serializers with MigrationWriter.can
2019-01-11Moved django.db.migrations.writer.SettingsReference to django.conf.Tim Graham
2018-12-19Fixed #30031 -- Added --no-header option to makemigrations/squashmigrations.Dakota Hawkins
2018-05-05Fixed #28913 -- Fixed error handling when MIGRATIONS_MODULES specifies a none...Sanket Saurav
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
2017-02-28Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan
2017-01-20Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham
2017-01-19Refs #23919 -- Removed enum ImportError handling for Python 2.Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-10-06Fixed #27300 -- Made makemigrations --dry-run output a string (no bytes)Claude Paroz
2016-09-17Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham
2016-08-30Fixed #25109 -- Stopped silencing explicitly specified migration modules impo...Simon Charette
2016-07-14Reverted "Fixed #25388 -- Added an option to allow disabling of migrations du...Tim Graham
2016-03-23Fixed #25388 -- Added an option to allow disabling of migrations during test ...Berker Peksag
2016-02-25Fixed #26151 -- Refactored MigrationWriter.serialize()Yoong Kang Lim
2015-11-26Fixed #25807 -- Instructed the migration writer about lazy objects.Simon Charette
2015-11-19Fixed #25764 -- Added support for serialization of enum.Enum in migrations.Andrei Fokau
2015-09-12Refs #24919 -- Raised more helpful error message for disabled migrationsMarkus Holtermann
2015-08-31Fixed #25259 -- Added comments to header of generated migration filesTyson Clugg
2015-08-27Fixed #25280 -- Properly checked regex objects for equality to prevent infini...Markus Holtermann
2015-07-29Fixed #25185 -- Added support for functools.partial serialization in migrationsPiper Merriam
2015-07-28Fixed #25186 -- Improved migration's serialization of builtins on Python 2.Piper Merriam
2015-07-13Fixed #24375 -- Added Migration.initial attributeAndrei Kulakov
2015-06-15Fixed #24979 -- Removed usage of inspect.getargspec().Tim Graham
2015-04-10Fixed #24514 -- Made migration writer omit models import if it's unused.Christopher Luc
2015-04-05Fixed #24278 -- Fixed serialization of migration operations.Marten Kenbeek
2015-04-05Refs #24278 -- Allowed multi-line serializations in OperationWriter.Marten Kenbeek
2015-04-02Fixed #24566 -- Added support for serializing timedeltaBaptiste Mispelon
2015-03-23Fixed #24521 -- Added support for serializing frozensets in migrations.Baptiste Mispelon
2015-02-23Prevented makemigrations from writing in sys.path[0].Aymeric Augustin
2015-02-17Refs #24324 -- Fixed UnicodeDecodeError in MigrationWriter on Python 2.Tim Graham
2015-02-17Refs #24324 -- Fixed UnicodeDecodeError in makemigrations.Tim Graham
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-20Fixed #24155 -- Maintained kwargs and import order in migration writerMarkus Holtermann
2015-01-07Fixed #24093 -- Prevented MigrationWriter to write operation kwargs that are ...Markus Holtermann
2014-12-25Fixed #23866 -- Harmonized refs to Django documentation from codeClaude Paroz
2014-12-22Fixed #23998 -- Added datetime.time support to migrations questioner.Oscar Ramirez
2014-12-15Fixed #23822 -- Added support for serializing model managers in migrationMarkus Holtermann
2014-12-08Fixed #23968 -- Replaced list comprehension with generators and dict comprehe...Jon Dufresne
2014-12-03Fixed #23950 -- Prevented calling deconstruct on classes in MigrationWriter.Gavin Wahl
2014-11-06Fixed #23770 -- Changed serialization strategy for floats with respect to NaN...Markus Holtermann