Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed #24037 -- Prevented data loss possibility when ↵ | Tim Graham | 2014-12-23 | 2 | -11/+19 | |
| | | | | | | | | | changing Meta.managed. The migrations autodetector now issues AlterModelOptions operations for Meta.managed changes instead of DeleteModel + CreateModel. Thanks iambibhas for the report and Simon and Markus for review. | |||||
* | Fixed #23998 -- Added datetime.time support to ↵ | Oscar Ramirez | 2014-12-22 | 1 | -0/+2 | |
| | | | | migrations questioner. | |||||
* | Fixed #24017 -- Added python_2_unicode_compatible in ↵ | Josh Schneier | 2014-12-21 | 2 | -2/+5 | |
| | | | | db/migrations | |||||
* | Fixed #23983 -- Fixed a crash in migrations when adding ↵ | Andriy Sokolovskiy | 2014-12-16 | 1 | -0/+2 | |
| | | | | order_with_respect_to to non-empty table. | |||||
* | Fixed #23405 -- Fixed makemigrations prompt when adding ↵ | Andriy Sokolovskiy | 2014-12-15 | 1 | -2/+5 | |
| | | | | | | Text/CharField. A default is no longer required. | |||||
* | Fixed #23822 -- Added support for serializing model ↵ | Markus Holtermann | 2014-12-15 | 5 | -13/+128 | |
| | | | | | | | managers in migration Thanks to Shai Berger, Loïc Bistuer, Simon Charette, Andrew Godwin, Tim Graham, Carl Meyer, and others for their review and input. | |||||
* | Fixed #23956 -- Fixed migration creation for multiple ↵ | Markus Holtermann | 2014-12-11 | 1 | -1/+1 | |
| | | | | table inheritance | |||||
* | Fixed #23968 -- Replaced list comprehension with ↵ | Jon Dufresne | 2014-12-08 | 4 | -9/+9 | |
| | | | | generators and dict comprehension | |||||
* | Fixed #23950 -- Prevented calling deconstruct on classes ↵ | Gavin Wahl | 2014-12-03 | 1 | -14/+14 | |
| | | | | in MigrationWriter. | |||||
* | Fixed #23894 -- Made deconstruct methods favor kwargs ↵ | Markus Holtermann | 2014-11-28 | 3 | -29/+80 | |
| | | | | over args | |||||
* | Fixed bug in circular dependency algo for migration ↵ | Luke Plant | 2014-11-25 | 1 | -10/+21 | |
| | | | | | | | | | | | | dependencies. Previous algo only worked if the first item was a part of the loop, and you would get an infinite loop otherwise (see test). To fix this, it was much easier to do a pre-pass. A bonus is that you now get an error message that actually helps you debug the dependency problem. | |||||
* | Revert "Fixed #23892 -- Made deconstructible classes ↵ | Carl Meyer | 2014-11-23 | 4 | -18/+15 | |
| | | | | | | | | | | | forwards compatible" This reverts commit f36151ed169813f2873e13ca9de616cfa4095321. Adding kwargs to deconstructed objects does not achieve useful forward-compatibility in general, since additional arguments are silently dropped rather than having their intended effect. In fact, it can make the failure more difficult to diagnose. Thanks Shai Berger for discussion. | |||||
* | Fixed #23892 -- Made deconstructible classes forwards ↵ | Carl Meyer | 2014-11-22 | 4 | -15/+18 | |
| | | | | compatible | |||||
* | Fixed #23794 -- Fixed migrations crash when removing a ↵ | Andrzej Pragacz | 2014-11-21 | 1 | -11/+5 | |
| | | | | field that's part of index/unique_together. | |||||
* | Fixed #23844 -- Used topological sort for migration ↵ | Patryk Zawadzki | 2014-11-20 | 6 | -53/+176 | |
| | | | | | | | | | | | | | | | operation dependency resolution. This removes the concept of equality between operations to guarantee compatilibity with Python 3. Python 3 requires equality to result in identical object hashes. It's impossible to implement a unique hash that preserves equality as operations such as field creation depend on being able to accept arbitrary dicts that cannot be hashed reliably. Thanks Klaas van Schelven for the original patch in 13d613f80011852404198dfafd1f09c0c0ea42e6. | |||||
* | Fixed #23410 -- Avoided unnecessary rollbacks in related ↵ | Carl Meyer | 2014-11-20 | 1 | -6/+11 | |
| | | | | apps when migrating backwards. | |||||
* | Fixed #22248 -- Made RenameModel reversible | Stratos Moros | 2014-11-19 | 1 | -2/+0 | |
| | ||||||
* | Fixed #23859 -- Fixed a migration crash when a field is ↵ | Markus Holtermann | 2014-11-17 | 1 | -6/+7 | |
| | | | | renamed that is part of an index_together | |||||
* | Avoided unneeded calls to state.render() in migrations. | twidi | 2014-11-17 | 2 | -14/+14 | |
| | ||||||
* | Reordered condition to avoid calling allow_migrate() if ↵ | twidi | 2014-11-17 | 1 | -2/+2 | |
| | | | | unneeded. | |||||
* | Merge pull request #3536 from Zweedeend/ticket_23837 | Carl Meyer | 2014-11-15 | 1 | -7/+10 | |
|\ | | | | | Fixes #23837: Replace list with deque in migration-planner for improved performance. | |||||
| * | Fixes #23837: Replace list.pop(0) by deque.popleft() in ↵ | Niels Kouwenhoven | 2014-11-15 | 1 | -7/+10 | |
| | | | | | | | | dfs function in migrations | |||||
* | | Fixed #23835: Changed circular dependency in DFS to be ↵ | Andrew Godwin | 2014-11-15 | 1 | -2/+2 | |
|/ | | | | less infinite | |||||
* | Revert "Use topological sort for migration operation ↵ | Tim Graham | 2014-11-15 | 2 | -49/+22 | |
| | | | | | | | | dependency resolution" This commit broke the tests on Python 3. This reverts commit 13d613f80011852404198dfafd1f09c0c0ea42e6. | |||||
* | Use topological sort for migration operation dependency ↵ | Klaas van Schelven | 2014-11-15 | 2 | -22/+49 | |
| | | | | | | resolution rather than an ad-hoc algorithm | |||||
* | Fixed #23770 -- Changed serialization strategy for ↵ | Markus Holtermann | 2014-11-06 | 1 | -3/+8 | |
| | | | | | | floats with respect to NaN and Inf Thanks to w0rp for the report | |||||
* | Fixed #23733 -- Fixed squashing migrations that depend ↵ | twidi | 2014-10-30 | 1 | -2/+9 | |
| | | | | on multiple apps. | |||||
* | Fixed #23556 -- Raised a more meaningful error message ↵ | Markus Holtermann | 2014-10-30 | 2 | -13/+83 | |
| | | | | when migrations refer to an unavailable node | |||||
* | Fixed #23614 -- Changed the way the migration ↵ | Markus Holtermann | 2014-10-29 | 1 | -4/+24 | |
| | | | | | | autodetector orders unique/index_together Thanks to Naddiseo for the report and Tim Graham for the review | |||||
* | Limited lines to 119 characters in django/{contrib,db}. | Berker Peksag | 2014-10-29 | 9 | -29/+65 | |
| | | | | Refs #23395. | |||||
* | Fixed #23618 -- Allowed apps with no models to still ↵ | Claude Paroz | 2014-10-24 | 1 | -2/+0 | |
| | | | | | | have migrations Basically a4737bf6ae reapplied. | |||||
* | Fixed #23630 -- Made AlterModelTable rename auto-created ↵ | Tim Graham | 2014-10-23 | 1 | -0/+8 | |
| | | | | | | | M2M tables. Thanks Naddiseo for the report, Andrew Godwin for guidance, and Shai Berger for review. | |||||
* | Fixed #23629 -- Allowed autodetector to detect changes ↵ | Tianyi Wang | 2014-10-20 | 1 | -0/+18 | |
| | | | | | | in Meta.db_table. Thanks Naddiseo for reporting. | |||||
* | Fixed #23609 -- Fixed IntegrityError that prevented ↵ | Markus Holtermann | 2014-10-09 | 3 | -29/+81 | |
| | | | | | | altering a NULL column into a NOT NULL one due to existing rows Thanks to Simon Charette, Loic Bistuer and Tim Graham for the review. | |||||
* | Fixed #23426 -- Allowed parameters in migrations.RunSQL | Markus Holtermann | 2014-10-02 | 1 | -6/+18 | |
| | | | | Thanks tchaumeny and Loic for reviews. | |||||
* | Fixed #23365 -- Added support for timezone-aware ↵ | Rudy Mutter | 2014-09-30 | 2 | -8/+23 | |
| | | | | datetimes to migrations. | |||||
* | Replaced set([foo, ...]) by {foo, ...} literals. Refs PR ↵ | Thomas Chaumeny | 2014-09-28 | 2 | -14/+15 | |
| | | | | | | 3282. Thanks Collin Anderson for the review. | |||||
* | Fixed #23560 -- Fixed MigrationWrite to handle builtin ↵ | Loic Bistuer | 2014-09-26 | 1 | -1/+4 | |
| | | | | | | types without imports. Thanks Tim Graham for the review. | |||||
* | Fixed #23415 -- Added fields for unmanaged and proxy ↵ | Markus Holtermann | 2014-09-25 | 1 | -47/+45 | |
| | | | | | | model migrations. Thanks sky-chen for the report. | |||||
* | Revert "Fixed #23474 -- Prevented migrating backwards ↵ | Tim Graham | 2014-09-24 | 1 | -9/+5 | |
| | | | | | | from unapplying the wrong migrations." This reverts commit abcf28a07695a45cb5fb15b81bffc97bea5e0be3. | |||||
* | Fixed #23426 -- Don't require double percent sign in ↵ | Markus Holtermann | 2014-09-24 | 1 | -2/+2 | |
| | | | | RunSQL without parameters | |||||
* | Called table_names instead of get_table_list in migrations | Claude Paroz | 2014-09-23 | 2 | -2/+2 | |
| | ||||||
* | Fixed #23474 -- Prevented migrating backwards from ↵ | valtron | 2014-09-15 | 1 | -5/+9 | |
| | | | | unapplying the wrong migrations. | |||||
* | Fixed #23484 -- Add comment in AppConfigStub clarifying ↵ | Carl Meyer | 2014-09-12 | 1 | -0/+3 | |
| | | | | app name vs app label. | |||||
* | Fixed #23483 -- Prevented ImproperlyConfigured with ↵ | Szilveszter Farkas | 2014-09-12 | 1 | -0/+1 | |
| | | | | | | | | dotted app names Made sure the app labels stay unique for the AppConfigStubs, so migrations wouldn't fail if two dotted app names has the same last part (e.g. django.contrib.auth and vendor.auth) | |||||
* | Corrected grammar in migrations error message. | Markus Bertheau | 2014-09-10 | 1 | -2/+2 | |
| | ||||||
* | Fixed #23452 -- Prevented infinite migrations for empty ↵ | Markus Holtermann | 2014-09-10 | 2 | -12/+13 | |
| | | | | | | unique/index_together. Thanks fwkroon for the report. | |||||
* | Updated links to point to dev documentation. | Markus Holtermann | 2014-09-08 | 1 | -6/+7 | |
| | ||||||
* | Fixed #22951 -- Checked for types during ↵ | Andrew Pinkham | 2014-09-08 | 1 | -1/+1 | |
| | | | | | | deep_deconstruct migration serialization process. Thanks Sam Hartsfield for the report. | |||||
* | switch out recursive dfs for stack based approach, to ↵ | Ben Reilly | 2014-09-06 | 1 | -25/+20 | |
| | | | | avoid possibly hitting the recursion limit |