Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added test for an intermediate swappable model change in ↵ | Markus Holtermann | 2014-12-30 | 1 | -0/+19 | |
| | | | | | | migration state. refs #22563 | |||||
* | Fixed #23938 -- Added migration support for m2m to ↵ | Markus Holtermann | 2014-12-29 | 1 | -0/+37 | |
| | | | | | | concrete fields and vice versa Thanks to Michael D. Hoyle for the report and Tim Graham for the review. | |||||
* | Fixed #24037 -- Prevented data loss possibility when ↵ | Tim Graham | 2014-12-23 | 1 | -6/+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/+4 | |
| | | | | migrations questioner. | |||||
* | Fixed #24017 -- Added python_2_unicode_compatible in ↵ | Josh Schneier | 2014-12-21 | 1 | -1/+17 | |
| | | | | db/migrations | |||||
* | Fixed #23983 -- Fixed a crash in migrations when adding ↵ | Andriy Sokolovskiy | 2014-12-16 | 1 | -0/+9 | |
| | | | | order_with_respect_to to non-empty table. | |||||
* | Refs #23947 -- Improved migrations tests table cleanup. | Diego Guimarães | 2014-12-16 | 1 | -24/+19 | |
| | | | | Copied technique from schema tests. | |||||
* | Fixed reverse test execution for migration manager tests | Markus Holtermann | 2014-12-15 | 1 | -5/+6 | |
| | | | | Thanks to Tim Graham for reporting the issue; refs #23822 | |||||
* | Fixed #23405 -- Fixed makemigrations prompt when adding ↵ | Andriy Sokolovskiy | 2014-12-15 | 1 | -1/+45 | |
| | | | | | | Text/CharField. A default is no longer required. | |||||
* | Fixed #23822 -- Added support for serializing model ↵ | Markus Holtermann | 2014-12-15 | 5 | -15/+263 | |
| | | | | | | | 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 | -0/+23 | |
| | | | | table inheritance | |||||
* | Fixed #23950 -- Prevented calling deconstruct on classes ↵ | Gavin Wahl | 2014-12-03 | 1 | -0/+11 | |
| | | | | in MigrationWriter. | |||||
* | Fixed #23909 -- Prevented crash when collecting SQL for ↵ | Claude Paroz | 2014-12-01 | 1 | -0/+6 | |
| | | | | | | | RunSQL Thanks James Rivett-Carnac for the report and Markus Holtermann for the review. | |||||
* | Corrected a docstring in ↵ | wrwrwr | 2014-12-01 | 1 | -1/+1 | |
| | | | | tests/migrations/test_operations.py. | |||||
* | Replaced router.routers usage with ↵ | wrwrwr | 2014-12-01 | 1 | -11/+3 | |
| | | | | override_settings(DATABASE_ROUTERS); refs #23933. | |||||
* | Fixed #23880 -- Added missing index_together handling ↵ | Markus Holtermann | 2014-12-01 | 1 | -4/+2 | |
| | | | | for SQLite | |||||
* | Fixed #23728 -- Added the --exit option to makemigrations. | Tim Heap | 2014-11-28 | 1 | -0/+12 | |
| | | | | | If no changes that need migrations are found, `makemigrations --exit` exits with error code 1. | |||||
* | Fixed #23894 -- Made deconstruct methods favor kwargs ↵ | Markus Holtermann | 2014-11-28 | 1 | -4/+98 | |
| | | | | over args | |||||
* | Fixed flake8 warnings. | Tim Graham | 2014-11-25 | 1 | -3/+3 | |
| | ||||||
* | Fixed bug in circular dependency algo for migration ↵ | Luke Plant | 2014-11-25 | 1 | -0/+14 | |
| | | | | | | | | | | | | 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. | |||||
* | Fixed #23794 -- Fixed migrations crash when removing a ↵ | Andrzej Pragacz | 2014-11-21 | 1 | -0/+16 | |
| | | | | field that's part of index/unique_together. | |||||
* | Fixed duplicate index error on Oracle; refs #23859. | Markus Holtermann | 2014-11-20 | 1 | -1/+7 | |
| | | | | Refers to regression introduced in 7b4a994599b75a07cb07d1e0cc26b3bbf25ab7a6 | |||||
* | Fixed #23844 -- Used topological sort for migration ↵ | Patryk Zawadzki | 2014-11-20 | 2 | -35/+6 | |
| | | | | | | | | | | | | | | | 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. | |||||
* | Added another migration-executor test to avoid regressions. | Carl Meyer | 2014-11-20 | 1 | -0/+35 | |
| | ||||||
* | Fixed #23410 -- Avoided unnecessary rollbacks in related ↵ | Carl Meyer | 2014-11-20 | 1 | -1/+95 | |
| | | | | apps when migrating backwards. | |||||
* | Fixed #23872 -- Removed sensitivity of migrations tests ↵ | Carl Meyer | 2014-11-19 | 2 | -15/+19 | |
| | | | | to CWD. | |||||
* | Cleaned up and reformatted autodetector tests | Markus Holtermann | 2014-11-19 | 1 | -476/+475 | |
| | ||||||
* | Formatted model states in autodetector tests | Markus Holtermann | 2014-11-19 | 1 | -47/+208 | |
| | ||||||
* | Fixed #22248 -- Made RenameModel reversible | Stratos Moros | 2014-11-19 | 1 | -2/+1 | |
| | ||||||
* | Fixed #23799 -- Made makemigrations respect --no-optimize. | Tillmann Karras | 2014-11-18 | 1 | -0/+39 | |
| | | | | Thanks to yamila-moreno for the idea of a skip message. | |||||
* | Fixed #23859 -- Fixed a migration crash when a field is ↵ | Markus Holtermann | 2014-11-17 | 1 | -2/+6 | |
| | | | | renamed that is part of an index_together | |||||
* | Removed references to the deprecated assertRaisesRegexp ↵ | Simon Charette | 2014-11-16 | 1 | -2/+3 | |
| | | | | method. | |||||
* | Fixed #23835: Changed circular dependency in DFS to be ↵ | Andrew Godwin | 2014-11-15 | 1 | -0/+27 | |
| | | | | less infinite | |||||
* | Revert "Use topological sort for migration operation ↵ | Tim Graham | 2014-11-15 | 1 | -3/+3 | |
| | | | | | | | | 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 | 1 | -3/+3 | |
| | | | | | | resolution rather than an ad-hoc algorithm | |||||
* | Fixed #23770 -- Changed serialization strategy for ↵ | Markus Holtermann | 2014-11-06 | 1 | -0/+5 | |
| | | | | | | floats with respect to NaN and Inf Thanks to w0rp for the report | |||||
* | Fixed #23620 -- Used more specific assertions in the ↵ | Berker Peksag | 2014-11-03 | 2 | -14/+14 | |
| | | | | Django test suite. | |||||
* | Fixed #23733 -- Fixed squashing migrations that depend ↵ | twidi | 2014-10-30 | 12 | -0/+133 | |
| | | | | on multiple apps. | |||||
* | Fixed #23556 -- Raised a more meaningful error message ↵ | Markus Holtermann | 2014-10-30 | 17 | -5/+286 | |
| | | | | when migrations refer to an unavailable node | |||||
* | Fixed #23614 -- Changed the way the migration ↵ | Markus Holtermann | 2014-10-29 | 1 | -39/+38 | |
| | | | | | | autodetector orders unique/index_together Thanks to Naddiseo for the report and Tim Graham for the review | |||||
* | Added missing available app in migrations test case | Claude Paroz | 2014-10-23 | 1 | -0/+1 | |
| | | | | | In some test combinations, having contrib.auth available but not contrib.contenttypes can produce failures while creating permissions. | |||||
* | Fixed #23630 -- Made AlterModelTable rename auto-created ↵ | Tim Graham | 2014-10-23 | 1 | -1/+36 | |
| | | | | | | | M2M tables. Thanks Naddiseo for the report, Andrew Godwin for guidance, and Shai Berger for review. | |||||
* | Made testing of stdout and stderr more consistent. | Loic Bistuer | 2014-10-22 | 1 | -67/+66 | |
| | | | | Refs #23663. | |||||
* | Removed unneeded override_system_checks | Claude Paroz | 2014-10-21 | 1 | -34/+1 | |
| | | | | Refs #23685. | |||||
* | Fixed #23629 -- Allowed autodetector to detect changes ↵ | Tianyi Wang | 2014-10-20 | 1 | -1/+90 | |
| | | | | | | in Meta.db_table. Thanks Naddiseo for reporting. | |||||
* | Revert "Fixed #23650 -- Prevented migrate from calling ↵ | Claude Paroz | 2014-10-20 | 1 | -21/+0 | |
| | | | | | | | | checks 3 times" This reverts commit 8d6e1afe0be0570253a508f43e2ef89ae640984e. call_command now always set skip_checks to True (tested in user_commands). | |||||
* | Fixed #23650 -- Prevented migrate from calling checks 3 ↵ | Claude Paroz | 2014-10-17 | 1 | -0/+21 | |
| | | | | | | times Thanks Ilya Baryshev for the report and Tim Graham for the review. | |||||
* | Avoided requiring sqlparse for a test. | Collin Anderson | 2014-10-09 | 1 | -3/+2 | |
| | | | | Refs #23426. Thanks Markus Holtermann for the suggestion. | |||||
* | Skip another test if sqlparse is not available | Collin Anderson | 2014-10-09 | 1 | -0/+1 | |
| | | | | Refs #23426 | |||||
* | Fixed #23609 -- Fixed IntegrityError that prevented ↵ | Markus Holtermann | 2014-10-09 | 1 | -0/+75 | |
| | | | | | | 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. |