summaryrefslogtreecommitdiff
path: root/django/db/migrations
AgeCommit message (Collapse)Author
2014-09-23Called table_names instead of get_table_list in migrationsClaude Paroz
2014-09-15Fixed #23474 -- Prevented migrating backwards from unapplying the wrong ↵valtron
migrations.
2014-09-12Fixed #23484 -- Add comment in AppConfigStub clarifying app name vs app label.Carl Meyer
2014-09-12Fixed #23483 -- Prevented ImproperlyConfigured with dotted app namesSzilveszter Farkas
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)
2014-09-10Corrected grammar in migrations error message.Markus Bertheau
2014-09-10Fixed #23452 -- Prevented infinite migrations for empty unique/index_together.Markus Holtermann
Thanks fwkroon for the report.
2014-09-08Updated links to point to dev documentation.Markus Holtermann
2014-09-08Fixed #22951 -- Checked for types during deep_deconstruct migration ↵Andrew Pinkham
serialization process. Thanks Sam Hartsfield for the report.
2014-09-05 switch out recursive dfs for stack based approach, to avoid possibly ↵Ben Reilly
hitting the recursion limit
2014-09-05Revert "Fixed #23384 -- Allowed overriding part of a dictionary-type setting"Claude Paroz
This reverts commit 66757fee7e921ad4c35e0b3f80c25e026100b31c. Discussions have led to think that this functionality does not bring significant benefits to justify the added complexity. Read also discussions on ticket #22734.
2014-09-02Fixed #23302 -- Added --name/-n option to makemigrations commandRaffaele Salmaso
2014-09-02Fixed #22918 -- Fixed SeparateDatabaseAndState crashDave Hall
2014-08-30Fixed #23384 -- Allowed overriding part of a dictionary-type settingClaude Paroz
This change is needed for upcoming changes where settings might be grouped in a parent dictionary. Thanks Tim Graham for the review.
2014-08-23Fixed #23341 -- Added migration name to nonexistent migration error in ↵Raffaele Salmaso
makemigrations.
2014-08-20Fixed #23322 -- Use resolved swappable model for dependency resolution ↵Markus Holtermann
during makemigrations
2014-08-19Fixed #23315: Operational dependency fail with mixed create/addAndrew Godwin
2014-08-19Fixed #23316 -- Added datetime.time serialization in migrations.Lee Sanghyuck
2014-08-12Fixed #23275: Unmanaged models kept by autodetector, ignored by opsAndrew Godwin
2014-08-08Don't treat .pyc/pyo files as migrations. Refs #23237 among others.Andrew Godwin
2014-08-07Use smart_text rather than naive forcing-to-unicode for state readingAndrew Godwin
2014-08-07Fixed #23226: Model options appearing as bytes type in migrationsAndrew Godwin
2014-08-07Fixed #23244: Error altering FK to non-FK in migrationsAndrew Godwin
2014-08-03Fixed #23160 -- Correctly rename models with self referential fields.Simon Charette
Thanks to whitews AT gmail for the report.
2014-07-31Fixed flake8 warnings.Tim Graham
2014-07-29Fixed #23092: Squashing handles external dependenciesAndrew Godwin
2014-07-29Fixed #23101: Prefer doing deletes before creates in autodetector.Andrew Godwin
Makes declined or missed renames still work (but drop data).
2014-07-29Fix soft_applied in a way that doesn't break testsAndrew Godwin
2014-07-29Make detect_soft_applied exit correctly on non-create migrationsAndrew Godwin
2014-07-28Fixed #23121: AlterModelOptions operation not changing state rightAndrew Godwin
2014-07-28Fixed #23100: Individual FK creation missing dependenciesAndrew Godwin
2014-07-26Fixed #22944: Bad dependency on FK alteration in autodetectorAndrew Godwin
2014-07-25Restore support for reading __latest__ for compatabilityAndrew Godwin
2014-07-25Fixed #23093: soft application detection for swapped modelsAndrew Godwin
2014-07-25Merge pull request #2938 from dekkers/ticket_23071Andrew Godwin
Fixed #23071 -- Use last migration's name in dependency to other app
2014-07-24Fixed #23014 -- Infinite migration regression with unique/index_together.Tim Graham
2014-07-22Fixed #23071 -- Use last migration's name in dependency to other appJeroen Dekkers
Changed the autodetector to lookup the name of the other app's last migration in the graph and use that as dependency instead of using __latest__.
2014-07-21Fixed #23014: Renaming not atomic with unique togetherAndrew Godwin
2014-07-16Fixed #23041: Bad base dependencies for proxy modelsAndrew Godwin
2014-07-15Fixed #23013 -- Fixed removing unique_together/index_together constraints in ↵Tim Graham
migrations. Thanks melinath for the report.
2014-07-15Fixed #23008 -- Fixed typo causing bad migration dependencies.Tim Graham
Thanks semenov for the report and Florian for investigation.
2014-07-11Fixed #22983: Alert when squashing RunPython operations with referred functions.Andrew Godwin
2014-07-09Fixed #22922: Better error message for InvalidBasesError.Andrew Godwin
2014-07-09Fixed #22970: Incorrect dependencies for existing migrated appsAndrew Godwin
2014-07-06Fixed #22906 -- Added a more helpful repr to migrations' ModelState.Loic Bistuer
Thanks Collin Anderson for the report and original patch.
2014-07-05Fixed flake8 indentation.Tim Graham
2014-07-05Merge pull request #2881 from ↵Andrew Godwin
charettes/ticket-22943-compiled-regex-deconstruction Fixed #22943 -- Correctly serialize compiled regexes.
2014-07-05Fixed #22960: Bad handling of relations as PKs in autodetectorAndrew Godwin
2014-07-04Fixed #22943 -- Correctly serialize compiled regexes.Simon Charette
Thanks to antialiasis at gmail dot com for the patch.
2014-07-02Fixed #22940 -- Added missing string iterpolation parameters in ↵Colin Wood
migrations.writer error. Forwardport of f5740af868 from stable/1.7.x
2014-06-27Fixed #22917 -- Fixed typo in AlterIndexTogether.describe().Tim Graham