| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-05-06 | Added a bunch of missing unicode_literals | Claude Paroz | |
| Refs #22564. | |||
| 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 | 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-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-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-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. | |||
| 2014-03-25 | Fixed #22331 -- Made MigrationAutodetector ignore unmanaged models. | Tim Graham | |
| This commit reverts 69d4b1c and tackle the issue from a different angle. Models remain present in the project state, but are now ignored by the autodetector. | |||
| 2014-03-25 | Fixed #22331 -- Fixed migrations ProjectState to ignore unmanaged models. | Loic Bistuer | |
| 2014-03-25 | Fixed #22300 -- Fixed crash in migrations when changing non-relational field ↵ | Stephen Burrows | |
| to relational. | |||
| 2014-03-19 | Mark model renaming as irreversible for now (#22248) | Andrew Godwin | |
| 2014-03-19 | Fixed #22275: unique_together broken if ForeignKey split into new file. | Andrew Godwin | |
| Thanks to bak1an for the patch. | |||
| 2014-03-11 | Fix AlterField migrations that are related to a RenameModel migration | Chris Beaven | |
| 2014-03-11 | Fix autodetector creation of RenameModel migration to capitalize model names | Chris Beaven | |
| 2014-03-10 | Fixed #22239 -- Add auto detection of renamed models | Chris Beaven | |
| 2014-03-08 | Fix bad conflict detection during makemigrations | Andrew Godwin | |
| 2014-03-06 | Don't allow really long migration names | Andrew Godwin | |
| 2014-03-06 | Fixed #22204: Bad circular-dep-breaking if more than one per run | Andrew Godwin | |
| 2014-03-04 | Fixed three small flake8 violations. | Alex Gaynor | |
| 2014-03-05 | Fixed #21893 -- ModelState didn't account for MTI parents inherited from ↵ | Loic Bistuer | |
| abstract models. | |||
| 2014-03-03 | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | |
| Thanks Piotr Kasprzyk for help with the patch. | |||
| 2014-03-01 | Fixed #22172 -- Allowed index_together to be a single list (rather than list ↵ | Anubhav Joshi | |
| of lists).. Thanks EmilStenstrom for the suggestion. | |||
| 2014-02-28 | Fix keyword agument names in RunPython to be positional | Andrew Godwin | |
| 2014-02-23 | Fixed #22095 -- Enabled backward migrations for RunPython operations | Andrew Gorcester | |
| Added reversible property to RunPython so that migrations will not refuse to reverse migrations including RunPython operations, so long as reverse_code is set in the RunPython constructor. Included tests to check the reversible property on RunPython and the similar RunSQL. | |||
| 2014-02-17 | Merge pull request #2270 from bmispelon/ticket-22030 | Andrew Godwin | |
| Fixed #22030 -- Don't assume that all fields have a swappable_setting at... | |||
| 2014-02-14 | Fixed #22035 -- reordered migration operations | Anton Baklanov | |
| Now AddField actions appear in operations list before AlterUniqueTogether actions. Thanks to SmileyChris for the report. | |||
| 2014-02-13 | Fixed #22030 -- Don't assume that all fields have a swappable_setting attribute. | Baptiste Mispelon | |
| 2014-02-12 | Fix my slightly hasty autodetector changes | Andrew Godwin | |
| 2014-02-12 | Remove redunant code from RunPython operation | Andrew Godwin | |
| 2014-02-09 | Fixed #21868: Don't die when seeing py3 namespace packages for mig dirs | Andrew Godwin | |
| 2014-02-09 | Fixed #21958: Handle dependencies for swappable models in AddField | Andrew Godwin | |
| 2014-02-09 | Fixed #21968: Bad detection of old-style apps to add initial migration | Andrew Godwin | |
| 2014-02-09 | Fixed #21954: Raise nice error when serializing datetimes with timezones | Andrew Godwin | |
| 2014-02-09 | Removed unused imports + other flake8 fixes. | Tim Graham | |
| 2014-02-09 | Fixed #21892: RunPython no longer accepts strings | Andrew Godwin | |
| 2014-02-08 | Fixed #21674 -- Deprecated the import_by_path() function in favor of ↵ | Berker Peksag | |
| import_string(). Thanks Aymeric Augustin for the suggestion and review. | |||
| 2014-02-05 | Fix pep8 violation in migration template. | Marc Tamlyn | |
| 2014-01-27 | Fixed #21874 -- Require Django applications to have a filesystem path. | Carl Meyer | |
| Wherever possible this filesystem path is derived automatically from the app module's ``__path__`` and ``__file__`` attributes (this avoids any backwards-compatibility problems). AppConfig allows specifying an app's filesystem location explicitly, which overrides all autodetection based on ``__path__`` and ``__file__``. This permits Django to support any type of module as an app (namespace packages, fake modules, modules loaded by other hypothetical non-filesystem module loaders), as long as the app is configured with an explicit filesystem path. Thanks Aymeric for review and discussion. | |||
| 2014-01-27 | Fixed #21872: Not detecting dependencies from M2M fields | Andrew Godwin | |
| 2014-01-26 | Took advantage of the new get_model API. Refs #21702. | Aymeric Augustin | |
| 2014-01-24 | Fix soft-apply detection of migrations with dependencies | Andrew Godwin | |
| 2014-01-22 | Fixed #21852 -- Make migration writer serialize iterators | Markus Holtermann | |
| 2014-01-19 | Fixed #21290: Documented migration serializing and improved error | Andrew Godwin | |
