Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed tuple serialization test. | Baptiste Mispelon | 2014-05-23 | 1 | -1/+1 | |
| | | | | Thanks to rockallite for the report. | |||||
* | Fixed #22602 -- Improved code coverage of makemigrations ↵ | Huu Nguyen | 2014-05-23 | 9 | -0/+326 | |
| | | | | command tests. | |||||
* | Fixed #22667 -- Replaced leader/follower terminology ↵ | Flavio Curella | 2014-05-22 | 1 | -1/+1 | |
| | | | | with primary/replica | |||||
* | Fixed #22679 -- Fixed empty tuple serialization in ↵ | Moayad Mardini | 2014-05-22 | 1 | -0/+12 | |
| | | | | | | MigrationWriter. Thanks rockallite.wulf for the report. | |||||
* | Made nested deconstruction support both forms of ↵ | Marc Tamlyn | 2014-05-22 | 1 | -0/+12 | |
| | | | | | | | | deconstruct() 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. | |||||
* | Skipped a migrations test that's not supported on MySQL ↵ | Tim Graham | 2014-05-21 | 1 | -0/+2 | |
| | | | | + Python 3. | |||||
* | Merge pull request #2692 from fcurella/patch-5 | Alex Gaynor | 2014-05-20 | 1 | -1/+1 | |
|\ | | | | | #22667 replaced occurrences of master/slave terminology with leader/follower | |||||
| * | replaced occurrences of master/slave terminology with ↵ | Flavio Curella | 2014-05-20 | 1 | -1/+1 | |
| | | | | | | | | leader/follower | |||||
* | | Fixed #22432: SQLite M2M repointing now works. Thanks to ↵ | Andrew Godwin | 2014-05-20 | 1 | -1/+44 | |
| | | | | | | | | xelnor. | |||||
* | | Merge pull request #2634 from loic/ticket22424 | Andrew Godwin | 2014-05-20 | 1 | -0/+132 | |
|\ \ | | | | | | | Fixed #22424 -- MySQL doesn't accept migrations' one-off default values ... | |||||
| * | | Failing testcases for #22649. | Loic Bistuer | 2014-05-18 | 1 | -0/+21 | |
| | | | ||||||
| * | | Fixed #22424 -- Fixed handling of default values for ↵ | Loic Bistuer | 2014-05-18 | 1 | -0/+111 | |
| | | | | | | | | | | | | | | | | | | TextField/BinaryField on MySQL. Thanks syphar for the review and suggestions. | |||||
* | | | Fixed #22661 -- Move makemigrations tests to the proper ↵ | Huu Nguyen | 2014-05-20 | 1 | -22/+22 | |
|/ / | | | | | | | class | |||||
* | | Harmonized some PEP 0263 coding preambles | Claude Paroz | 2014-05-15 | 15 | -15/+15 | |
| | | ||||||
* | | Tests for #22325 | Andrew Godwin | 2014-05-09 | 3 | -0/+53 | |
| | | ||||||
* | | Appeased flake8. | Aymeric Augustin | 2014-05-08 | 1 | -1/+2 | |
| | | ||||||
* | | Fixed #22496: Data migrations get transactions again! | Andrew Godwin | 2014-05-07 | 1 | -0/+37 | |
| | | ||||||
* | | Fixed #22435 -- Prevented adding a ManyToManyField from ↵ | Tim Graham | 2014-05-03 | 1 | -0/+26 | |
| | | | | | | | | | | | | prompting for a default. Thanks andrewsg for the report. | |||||
* | | Fix migration autodector to work correctly with custom ↵ | Chris Beaven | 2014-05-02 | 1 | -0/+22 | |
| | | | | | | | | deconstructed values | |||||
* | | flake8 fixes. | Tim Graham | 2014-05-01 | 1 | -0/+1 | |
| | | ||||||
* | | Cleanup failing test w/contenttypes and remove useless ↵ | Andrew Godwin | 2014-05-01 | 1 | -1/+4 | |
| | | | | | | | | graph load | |||||
* | | Fixed #22485: Include all unmigrated apps in project ↵ | Andrew Godwin | 2014-04-30 | 2 | -3/+30 | |
|/ | | | | state by default. | |||||
* | Fixed #22474 -- Made migration recorder aware of ↵ | Claude Paroz | 2014-04-30 | 1 | -1/+7 | |
| | | | | | | multiple databases Thanks Tim Graham for the review. | |||||
* | Fixed #22447 -- Make sure custom model bases can be ↵ | Simon Charette | 2014-04-29 | 2 | -0/+17 | |
| | | | | | | migrated. Thanks to cdestigter for the report. | |||||
* | Fixed #3214 -- Stopped parsing SQL with regex. | Aymeric Augustin | 2014-04-26 | 1 | -1/+14 | |
| | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | Fixed table cleanup in GIS migration tests | Claude Paroz | 2014-04-21 | 1 | -3/+3 | |
| | ||||||
* | Appeased flake8 2.1.0. | Aymeric Augustin | 2014-04-21 | 1 | -1/+1 | |
| | ||||||
* | Fixed flake8 errors. | Tim Graham | 2014-04-20 | 2 | -2/+5 | |
| | ||||||
* | Fixed #22397 -- Issues removing M2M field with explicit ↵ | Andrew Gorcester | 2014-04-18 | 3 | -12/+140 | |
| | | | | | | | | | | | | | | through model 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. | |||||
* | Revert "Fixed #22397 -- Issues removing M2M field with ↵ | Simon Charette | 2014-04-18 | 3 | -129/+12 | |
| | | | | | | | | explicit through model." This reverts commit 00e3b9a2a992ee0b7288eeeb03e7cbd52ebc6dce. It's causing a regression when tested with the proxy_model_inheritance tests. | |||||
* | Fixed #22397 -- Issues removing M2M field with explicit ↵ | Andrew Gorcester | 2014-04-17 | 3 | -12/+129 | |
| | | | | | | | | | | | | | | through model. 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. | |||||
* | Fixed #22460 -- Explicity remove constraints when ↵ | Motiejus Jakštys | 2014-04-16 | 1 | -0/+16 | |
| | | | | dropping a related field. | |||||
* | Fixed #22350 -- Consistently serialize bytes and text in ↵ | Simon Charette | 2014-04-14 | 11 | -4/+49 | |
| | | | | | | migrations. Thanks to @treyhunner and Loïc for their suggestions and review. | |||||
* | Fixed #22363 -- Correctly serialize ↵ | Simon Charette | 2014-04-03 | 1 | -1/+9 | |
| | | | | | | `django.utils.datetime_safe` objects. Thanks to linovia for the report. | |||||
* | Fixed #22319 -- Fixed migration external dependencies ↵ | Loic Bistuer | 2014-03-31 | 1 | -1/+1 | |
| | | | | when there are internal dependencies. | |||||
* | Fixed #22359 -- Changing M2M field to blank=True failed ↵ | Loic Bistuer | 2014-03-31 | 1 | -8/+30 | |
| | | | | on sqlite. | |||||
* | Fixed #22331 -- Made MigrationAutodetector ignore ↵ | Tim Graham | 2014-03-25 | 2 | -11/+27 | |
| | | | | | | | | unmanaged models. 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. | |||||
* | Fixed #22331 -- Fixed migrations ProjectState to ignore ↵ | Loic Bistuer | 2014-03-25 | 1 | -0/+11 | |
| | | | | unmanaged models. | |||||
* | Fixed #22300 -- Fixed crash in migrations when changing ↵ | Stephen Burrows | 2014-03-25 | 1 | -0/+23 | |
| | | | | non-relational field to relational. | |||||
* | Fixed #22275: unique_together broken if ForeignKey split ↵ | Andrew Godwin | 2014-03-20 | 1 | -0/+38 | |
| | | | | | | into new file. Thanks to bak1an for the patch. | |||||
* | Remove failing test while we fix the underlying bug | Andrew Godwin | 2014-03-11 | 1 | -40/+42 | |
| | ||||||
* | Fix AlterField migrations that are related to a ↵ | Chris Beaven | 2014-03-11 | 1 | -0/+41 | |
| | | | | RenameModel migration | |||||
* | Fix autodetector creation of RenameModel migration to ↵ | Chris Beaven | 2014-03-11 | 1 | -4/+4 | |
| | | | | capitalize model names | |||||
* | Fixed #22239 -- Add auto detection of renamed models | Chris Beaven | 2014-03-10 | 1 | -0/+70 | |
| | ||||||
* | Fixed #21843: Remove explicit ID column setting in test | Andrew Godwin | 2014-03-09 | 1 | -7/+7 | |
| | ||||||
* | Merge pull request #2315 from bendavis78/issues/22073 | Andrew Godwin | 2014-03-09 | 1 | -0/+40 | |
|\ | | | | | Fixed #22073 - Ensure CreateTable operation handles backwards migration correctly when M2M fields are present | |||||
| * | Fixed #22073 - Ensure CreateTable operation handles ↵ | Ben Davis | 2014-02-17 | 1 | -0/+40 | |
| | | | | | | | | backwards migration correctly when M2M fields are present | |||||
* | | Fixed #22204: Bad circular-dep-breaking if more than one ↵ | Andrew Godwin | 2014-03-06 | 1 | -2/+3 | |
| | | | | | | | | per run | |||||
* | | Fixed three small flake8 violations. | Alex Gaynor | 2014-03-05 | 1 | -0/+1 | |
| | | ||||||
* | | Fixed #21893 -- ModelState didn't account for MTI ↵ | Loic Bistuer | 2014-03-04 | 1 | -0/+15 | |
| | | | | | | | | parents inherited from abstract models. |