| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-06-15 | Fixed #22833: Autodetector not doing through mapping correctly | Andrew Godwin | |
| 2014-06-12 | Fixed #22823 (and partly #22563) - FKs from unmigrated apps breaking state. | Andrew Godwin | |
| Thanks to bendavis78 for the test and diagnostic work. | |||
| 2014-06-09 | Remove overzealous migration flushes from migration test suite | Andrew Godwin | |
| 2014-06-08 | Fixed #22777: Add dependency on through for autodetected M2M adds | Andrew Godwin | |
| 2014-06-07 | Fixed #22750, #22248: Model renaming now also alters field FKs | Andrew Godwin | |
| 2014-06-07 | Fixed #22436: More careful checking on method ref'ce serialization | Andrew Godwin | |
| 2014-06-05 | Rewrote migration autodetector to involve actual computer science. | Andrew Godwin | |
| Fixes #22605, #22735; also lays the ground for some other fixes. | |||
| 2014-06-05 | Merge pull request #2736 from SmileyChris/migration-run_before | Andrew Godwin | |
| Fixed #22725 - Migration.run_before does nothing | |||
| 2014-06-01 | Fixed #22659 -- Prevent model states from sharing field instances. | Simon Charette | |
| Thanks to Trac alias tbartelmess for the report and the test project. | |||
| 2014-05-30 | Improved the test for refs #22682. | Moayad Mardini | |
| Thanks apollo13 for the review. | |||
| 2014-05-29 | Fix additional test failures caused by migration pollution | Andrew Godwin | |
| 2014-05-30 | Fixed #22682 -- `makemigrations` will create `MIGRATION_MODULES` package | Moayad Mardini | |
| `makemigrations` will automatically create the package specified in `MIGRATION_MODULES` if it doesn't already exist. Thanks ovidiuc4 for the report. | |||
| 2014-05-29 | Implement Migration.run_before | Chris Beaven | |
| This attribute (used for reverse dependencies) was previously declared and mentioned in the code, but never actually used. | |||
| 2014-05-27 | Fixed #22675 -- makemigrations --dry-run to output migrations to stdout. | Moayad Mardini | |
| `makemigrations --dry-run` will output the complete migrations file that would be written if it's used along with `--verbosity 3`. | |||
| 2014-05-24 | Fixed #22676 -- makemigrations --dry-run should not ask for defaults | Moayad Mardini | |
| Made the fix in InteractiveMigrationQuestioner class code, rather than MigrationAutodetector, because --dry-run shouldn't affect whether MigrationAutodetector will detect non-nullable fields, but the questioner should skip the question and returns a None for default (since that won't be used anyway) if --dry-run is used. | |||
| 2014-05-23 | Fixed tuple serialization test. | Baptiste Mispelon | |
| Thanks to rockallite for the report. | |||
| 2014-05-23 | Fixed #22602 -- Improved code coverage of makemigrations command tests. | Huu Nguyen | |
| 2014-05-22 | Fixed #22667 -- Replaced leader/follower terminology with primary/replica | Flavio Curella | |
| 2014-05-22 | Fixed #22679 -- Fixed empty tuple serialization in MigrationWriter. | Moayad Mardini | |
| Thanks rockallite.wulf for the report. | |||
| 2014-05-22 | Made nested deconstruction support both forms of deconstruct() | Marc Tamlyn | |
| Nested deconstruction should (silently) handle Field.deconstruct() as well as other arbitrary deconstructable objects. This allows having a field in the deconstruction of another field. | |||
| 2014-05-21 | Skipped a migrations test that's not supported on MySQL + Python 3. | Tim Graham | |
| 2014-05-20 | Merge pull request #2692 from fcurella/patch-5 | Alex Gaynor | |
| #22667 replaced occurrences of master/slave terminology with leader/follower | |||
| 2014-05-20 | replaced occurrences of master/slave terminology with leader/follower | Flavio Curella | |
| 2014-05-20 | Fixed #22432: SQLite M2M repointing now works. Thanks to xelnor. | Andrew Godwin | |
| 2014-05-20 | Merge pull request #2634 from loic/ticket22424 | Andrew Godwin | |
| Fixed #22424 -- MySQL doesn't accept migrations' one-off default values ... | |||
| 2014-05-19 | Fixed #22661 -- Move makemigrations tests to the proper class | Huu Nguyen | |
| 2014-05-18 | Failing testcases for #22649. | Loic Bistuer | |
| 2014-05-18 | Fixed #22424 -- Fixed handling of default values for TextField/BinaryField ↵ | Loic Bistuer | |
| on MySQL. Thanks syphar for the review and suggestions. | |||
| 2014-05-15 | Harmonized some PEP 0263 coding preambles | Claude Paroz | |
| 2014-05-08 | Tests for #22325 | Andrew Godwin | |
| 2014-05-08 | Appeased flake8. | Aymeric Augustin | |
| 2014-05-07 | Fixed #22496: Data migrations get transactions again! | Andrew Godwin | |
| 2014-05-02 | Fixed #22435 -- Prevented adding a ManyToManyField from prompting for a default. | Tim Graham | |
| Thanks andrewsg for the report. | |||
| 2014-05-02 | Fix migration autodector to work correctly with custom deconstructed values | Chris Beaven | |
| 2014-04-30 | flake8 fixes. | Tim Graham | |
| 2014-04-30 | Cleanup failing test w/contenttypes and remove useless graph load | Andrew Godwin | |
| 2014-04-30 | Fixed #22485: Include all unmigrated apps in project state by default. | Andrew Godwin | |
| 2014-04-30 | Fixed #22474 -- Made migration recorder aware of multiple databases | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2014-04-29 | Fixed #22447 -- Make sure custom model bases can be migrated. | Simon Charette | |
| Thanks to cdestigter for the report. | |||
| 2014-04-26 | Fixed #3214 -- Stopped parsing SQL with regex. | Aymeric Augustin | |
| Avoided introducing a new regex-based SQL splitter in the migrations framework, before we're bound by backwards compatibility. Adapted this change to the legacy "initial SQL data" feature, even though it's already deprecated, in order to facilitate the transition to migrations. sqlparse becomes mandatory for RunSQL on some databases (all but PostgreSQL). There's no API to provide a single statement and tell Django not to attempt splitting. Since we have a more robust splitting implementation, that seems like a good tradeoff. It's easier to add a new keyword argument later if necessary than to remove one. Many people contributed to both tickets, thank you all, and especially Claude for the review. Refs #22401. | |||
| 2014-04-21 | Fixed table cleanup in GIS migration tests | Claude Paroz | |
| 2014-04-21 | Appeased flake8 2.1.0. | Aymeric Augustin | |
| 2014-04-20 | Fixed flake8 errors. | Tim Graham | |
| 2014-04-18 | Fixed #22397 -- Issues removing M2M field with explicit through model | Andrew Gorcester | |
| Changed the migration autodetector to remove models last so that FK and M2M fields will not be left as dangling references. Added a check in the migration state renderer to error out in the presence of dangling references instead of leaving them as strings. Fixed a bug in the sqlite backend to handle the deletion of M2M fields with "through" models properly (i.e., do nothing successfully). Thanks to melinath for report, loic for tests and andrewgodwin and charettes for assistance with architecture. | |||
| 2014-04-18 | Revert "Fixed #22397 -- Issues removing M2M field with explicit through model." | Simon Charette | |
| This reverts commit 00e3b9a2a992ee0b7288eeeb03e7cbd52ebc6dce. It's causing a regression when tested with the proxy_model_inheritance tests. | |||
| 2014-04-17 | Fixed #22397 -- Issues removing M2M field with explicit through model. | Andrew Gorcester | |
| Changed the migration autodetector to remove models last so that FK and M2M fields will not be left as dangling references. Added a check in the migration state renderer to error out in the presence of dangling references instead of leaving them as strings. Fixed a bug in the sqlite backend to handle the deletion of M2M fields with "through" models properly (i.e., do nothing successfully). Thanks to melinath for report, loic for tests and andrewgodwin and charettes for assistance with architecture. | |||
| 2014-04-16 | Fixed #22460 -- Explicity remove constraints when dropping a related field. | Motiejus Jakštys | |
| 2014-04-13 | Fixed #22350 -- Consistently serialize bytes and text in migrations. | Simon Charette | |
| Thanks to @treyhunner and Loïc for their suggestions and review. | |||
| 2014-04-03 | Fixed #22363 -- Correctly serialize `django.utils.datetime_safe` objects. | Simon Charette | |
| Thanks to linovia for the report. | |||
| 2014-03-31 | Fixed #22319 -- Fixed migration external dependencies when there are ↵ | Loic Bistuer | |
| internal dependencies. | |||
