summaryrefslogtreecommitdiff
path: root/tests/migrations
AgeCommit message (Collapse)Author
2014-11-06Fixed #23770 -- Changed serialization strategy for floats with respect to ↵Markus Holtermann
NaN and Inf Thanks to w0rp for the report
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-10-30Fixed #23733 -- Fixed squashing migrations that depend on multiple apps.twidi
2014-10-30Fixed #23556 -- Raised a more meaningful error message when migrations refer ↵Markus Holtermann
to an unavailable node
2014-10-29Fixed #23614 -- Changed the way the migration autodetector orders ↵Markus Holtermann
unique/index_together Thanks to Naddiseo for the report and Tim Graham for the review
2014-10-23Added missing available app in migrations test caseClaude Paroz
In some test combinations, having contrib.auth available but not contrib.contenttypes can produce failures while creating permissions.
2014-10-23Fixed #23630 -- Made AlterModelTable rename auto-created M2M tables.Tim Graham
Thanks Naddiseo for the report, Andrew Godwin for guidance, and Shai Berger for review.
2014-10-22Made testing of stdout and stderr more consistent.Loic Bistuer
Refs #23663.
2014-10-21Removed unneeded override_system_checksClaude Paroz
Refs #23685.
2014-10-20Fixed #23629 -- Allowed autodetector to detect changes in Meta.db_table.Tianyi Wang
Thanks Naddiseo for reporting.
2014-10-20Revert "Fixed #23650 -- Prevented migrate from calling checks 3 times"Claude Paroz
This reverts commit 8d6e1afe0be0570253a508f43e2ef89ae640984e. call_command now always set skip_checks to True (tested in user_commands).
2014-10-17Fixed #23650 -- Prevented migrate from calling checks 3 timesClaude Paroz
Thanks Ilya Baryshev for the report and Tim Graham for the review.
2014-10-09Avoided requiring sqlparse for a test.Collin Anderson
Refs #23426. Thanks Markus Holtermann for the suggestion.
2014-10-09Skip another test if sqlparse is not availableCollin Anderson
Refs #23426
2014-10-09Fixed #23609 -- Fixed IntegrityError that prevented altering a NULL column ↵Markus Holtermann
into a NOT NULL one due to existing rows Thanks to Simon Charette, Loic Bistuer and Tim Graham for the review.
2014-10-02Fixed #23426 -- Allowed parameters in migrations.RunSQLMarkus Holtermann
Thanks tchaumeny and Loic for reviews.
2014-09-29Fixed #23365 -- Added support for timezone-aware datetimes to migrations.Rudy Mutter
2014-09-29Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.Thomas Chaumeny
Thanks Collin Anderson for the review.
2014-09-27Fixed #23560 -- Fixed MigrationWrite to handle builtin types without imports.Loic Bistuer
Thanks Tim Graham for the review.
2014-09-25Fixed #23415 -- Added fields for unmanaged and proxy model migrations.Markus Holtermann
Thanks sky-chen for the report.
2014-09-24Revert "Fixed #23474 -- Prevented migrating backwards from unapplying the ↵Tim Graham
wrong migrations." This reverts commit abcf28a07695a45cb5fb15b81bffc97bea5e0be3.
2014-09-24Fixed #23426 -- Don't require double percent sign in RunSQL without parametersMarkus Holtermann
2014-09-23Called table_names instead of get_table_list in migrationsClaude Paroz
2014-09-23Fixed #23503 -- Fixed renaming of model with self-referential m2m field.Sergey Fedoseev
2014-09-19Fixed some flake8 errors.Tim Graham
Originally I added migrations to flake8 exclude because of long lines in migration files, but there are other directories named migrations we do want to check. We are not warning on line lengths yet anyway.
2014-09-15Fixed #23474 -- Prevented migrating backwards from unapplying the wrong ↵valtron
migrations.
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-08Fixed broken test from da160d440f; refs #23418.Markus Holtermann
2014-09-08Fixed #23418 -- Fail when migration deconstruct produces invalid importMarkus Holtermann
2014-09-08Fixed #22951 -- Checked for types during deep_deconstruct migration ↵Andrew Pinkham
serialization process. Thanks Sam Hartsfield for the report.
2014-09-05Fix Python 3 incompatabilityAndrew Godwin
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-23Fixed #23352 -- Added tests for MigrationGraph.{forwards,backwards}_planRaffaele Salmaso
2014-08-20Fixed #23322 -- Use resolved swappable model for dependency resolution ↵Markus Holtermann
during makemigrations
2014-08-20Fixed migrations tests added in refs #23315.Tim Graham
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-19Fixed broken tests on Oracle after 5853c87a458f62ebd62d7809168355610de2570c.Baptiste Mispelon
Oracle doesn't have a `BEGIN` statement so the test would fail. Refs #23303
2014-08-18Fixed #23303 -- Added BEGIN and COMMIT statements to the output of sqlmigrate.Baptiste Mispelon
2014-08-15Fixed typo in tests/migrations/test_operations.pyTim Graham
2014-08-12Fixed #23275: Unmanaged models kept by autodetector, ignored by opsAndrew Godwin
2014-08-07Fixed #23244: Error altering FK to non-FK in migrationsAndrew Godwin
2014-08-04Fixed #23091: CreateModel and AddField were clashing with deferred SQLAndrew Godwin