| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-07-11 | Fixed #27845 -- Allowed both right and left optimizations of operations. | Simon Charette | |
| Thanks Raphael Gaschignard for the suggestion. | |||
| 2018-07-11 | Allowed RemoveField operations to be optimized through. | Simon Charette | |
| 2018-07-11 | Relaxed FieldOperation.references_field remote field checking. | Simon Charette | |
| 2018-07-11 | Fixed #26720 -- Prevented invalid CreateModel optimizations of related fields. | Simon Charette | |
| 2018-07-11 | Fixed #27768 -- Allowed migration optimization of CreateModel order. | Simon Charette | |
| Thanks Ed Morley from Mozilla for the tests. | |||
| 2018-07-11 | Refs #27768 -- Reversed order of optimized and in-between operations. | Simon Charette | |
| Operations can only be optimized through if they don't reference any of the state the operation they are compared against defines or alters, so it's safe to reverse the order. | |||
| 2018-07-10 | Refs #22875 -- Fixed an optimizer test to use a valid scenario. | Simon Charette | |
| An explicit intermediary many-to-many relationship must declare forward and reverse foreign keys. The original issue was in the autodetector as these operations shouldn't have been generated in this order in the first place which is tested by AutodetectorTests.test_create_with_through_model. | |||
| 2018-07-10 | Fixed #11964 -- Added support for database check constraints. | Ian Foote | |
| 2018-07-09 | Fixed #29546 -- Deprecated django.utils.timezone.FixedOffset. | Sergey Fedoseev | |
| 2018-06-25 | Fixed #29518 -- Added validation for sqlmigrate's app_label argument. | oliver | |
| 2018-06-20 | Refs #29506 -- Added validation for squashmigrations' app_label option. | Claude Paroz | |
| 2018-06-20 | Fixed #29506 -- Added validation for migrate's app_label option. | Claude Paroz | |
| Thanks MyungSeKyo for the report and the initial patch. | |||
| 2018-06-20 | Refs #29469 -- Reused get_app_config() error message in makemigrations error. | Claude Paroz | |
| 2018-06-20 | Moved makemigrations app_label validation tests. | Claude Paroz | |
| 2018-06-16 | Fixed #29469 -- Added a helpful makemigrations error if app_label contains dots. | oliver | |
| 2018-06-15 | Fixed #29498 -- Fixed a missing pyc test file in source distribution. | Tim Graham | |
| 2018-06-15 | Fixed #29000 -- Fixed RenameModel's renaming of a M2M column when run after ↵ | Jeff | |
| RenameField. Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9. | |||
| 2018-05-09 | Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage(). | Morgan Aubert | |
| 2018-05-05 | Fixed #28913 -- Fixed error handling when MIGRATIONS_MODULES specifies a ↵ | Sanket Saurav | |
| nonexistent top-level package. | |||
| 2018-04-02 | Refs #23406 -- Fixed "invalid escape sequence" warning in migrations test. | Jon Dufresne | |
| 2018-03-28 | Fixed #29245 -- Made autodetector treat field renames + db_column addition ↵ | Simon Charette | |
| as RenameField. | |||
| 2018-03-23 | Fixed #23406 -- Allowed migrations to be loaded from .pyc files. | Dan Watson | |
| 2018-03-16 | Fixed hanging indentation in various code. | Mariusz Felisiak | |
| 2018-03-09 | Fixed #29180 -- Fixed a regression where migrations already in the plan were ↵ | Carlton Gibson | |
| readded. Regression in a38ae914d89809aed6d79337b74a8b31b6d3849a. | |||
| 2018-01-31 | Fixed #29091 -- Fixed makemigrations crash if migrations directory doesn't ↵ | Tim Graham | |
| have __init__.py. Regression in aadd3aeb2ba3153e35bd805c80c901f289a6f333. | |||
| 2017-12-30 | Fixed #25817 -- Made RenameField repoint to_field/to_fields references. | Simon Charette | |
| Also updated the autodetector to assume the RenameField operation will perform the required repointing. | |||
| 2017-12-28 | Removed unnecessary trailing commas and spaces in various code. | Mariusz Felisiak | |
| 2017-12-22 | Fixed #28884 -- Fixed crash on SQLite when renaming a field in a model ↵ | Simon Charette | |
| referenced by a ManyToManyField. Introspected database constraints instead of relying on _meta.related_objects to determine whether or not a table or a column is referenced on rename operations. This has the side effect of ignoring both db_constraint=False and virtual fields such as GenericRelation which aren't backend by database level constraints and thus shouldn't prevent the rename operations from being performed in a transaction. Regression in 095c1aaa898bed40568009db836aa8434f1b983d. Thanks Tim for the additional tests and edits, and Mariusz for the review. | |||
| 2017-12-06 | Fixed #28870 -- Added support for functools.partialmethod serialization in ↵ | Sergey Fedoseev | |
| migrations. | |||
| 2017-12-04 | Fixed #28860 -- Removed unnecessary len() calls. | Дилян Палаузов | |
| 2017-12-01 | Fixed #28849 -- Fixed referenced table and column rename on SQLite. | Simon Charette | |
| Thanks Ramiro for the input and Tim for the review. | |||
| 2017-12-01 | Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign key ↵ | Tim Graham | |
| constraint" crash on MySQL with a sequence of AlterField or RenameField operations. Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9. | |||
| 2017-11-06 | Fixed #28776 -- Fixed a/an/and typos in docs and comments. | Дилян Палаузов | |
| 2017-10-13 | Fixed #28708 -- Added constants to detect the Python version. | Tim Graham | |
| 2017-09-04 | Fixed #28493 -- Made migrations autodetector find dependencies for model ↵ | Jeremy Satterfield | |
| renaming. | |||
| 2017-08-10 | Fixed #28386 -- Made operations within non-atomic migrations honor the ↵ | Evan Grim | |
| operation's atomic flag when migrating backwards. | |||
| 2017-08-10 | Added missing test for RunPython behavior when unapplying. | Evan Grim | |
| 2017-07-29 | Used assertRaisesMessage() to test Django's error messages. | Mads Jensen | |
| 2017-07-26 | Fixed #28363 -- Allowed naming the migration generated by squashmigrations. | Melvyn Sopacua | |
| 2017-06-30 | Fixed #28350 -- Fixed UnboundLocalError crash in RenameField with ↵ | Simon Charette | |
| nonexistent field. Thanks Tim for the review. | |||
| 2017-06-26 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Mariusz Felisiak | |
| Tests and docs complement to cecc079168e8669138728d31611ff3a1e7eb3a9f. | |||
| 2017-06-19 | Fixed #27858 -- Prevented read-only management commands from creating the ↵ | Marti Raudsepp | |
| django_migrations table. MigrationRecorder now assumes that if the django_migrations table doesn't exist, then no migrations are applied. Reverted documentation change from refs #23808. | |||
| 2017-06-01 | Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. | Jon Dufresne | |
| 2017-05-27 | Fixed #28249 -- Removed unnecessary dict.keys() calls. | Jon Dufresne | |
| iter(dict) is equivalent to iter(dict.keys()). | |||
| 2017-05-18 | Fixed #28152 -- Made migrations serialize sets as set literals rather than ↵ | Jon Dufresne | |
| set(). | |||
| 2017-05-09 | Refs #22397 -- Removed model in test cleanup | Markus Holtermann | |
| The test was failing when using --keepdb due to a pre-existing PonyStables model. Thanks Florian Apolloner for the report | |||
| 2017-05-01 | Fixed #28043 -- Prevented AddIndex and RemoveIndex from mutating model state. | Ian Foote | |
| 2017-04-24 | Renamed "Mac OS X" to "macOS" in docs. | Michiel Beijen | |
| 2017-04-10 | Refs #26605 -- Isolated a migrations state test. | Tim Graham | |
| 2017-04-07 | Refs #26605 -- Added migrations state test for a swappable model inheriting ↵ | Ingo Klöcker | |
| an abstract model inheriting concrete model. Thanks Sébastien Diemer for the report and test. | |||
