Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/migrations
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #23008 -- Fixed typo causing bad migration ↵Tim Graham2014-07-151-1/+1
| | | | | | dependencies. Thanks semenov for the report and Florian for investigation.
* Fixed #22791 -- Invoke interactive questioner only for ↵Huu Nguyen2014-07-147-0/+122
| | | | | | conflicts in specified apps. Thanks bendavis78 for the report and Tim Graham for the review.
* Fix commentAndrew Godwin2014-07-101-1/+1
|
* Fixed #22970: Incorrect dependencies for existing ↵Andrew Godwin2014-07-103-3/+59
| | | | migrated apps
* Fixed #22906 -- Added a more helpful repr to migrations' ↵Loic Bistuer2014-07-061-0/+10
| | | | | | ModelState. Thanks Collin Anderson for the report and original patch.
* Merge pull request #2881 from ↵Andrew Godwin2014-07-061-12/+46
|\ | | | | | | | | charettes/ticket-22943-compiled-regex-deconstruction Fixed #22943 -- Correctly serialize compiled regexes.
| * Fixed #22943 -- Correctly serialize compiled regexes.Simon Charette2014-07-041-12/+46
| | | | | | | | Thanks to antialiasis at gmail dot com for the patch.
* | Fixed #22960: Bad handling of relations as PKs in ↵Andrew Godwin2014-07-061-1/+16
|/ | | | autodetector
* Fixed #22940 -- Added missing string iterpolation ↵Colin Wood2014-07-021-0/+13
| | | | | | parameters in migrations.writer error. Forwardport of f5740af868 from stable/1.7.x
* Fixed #22917 -- Fixed typo in AlterIndexTogether.describe().Tim Graham2014-06-271-0/+16
|
* Fixed #22903 -- Fixed migration generation if ↵Tim Graham2014-06-251-0/+38
| | | | index_together or unique_together is removed from a model.
* Fixed #22708: Typo in autodetector base dependency genAndrew Godwin2014-06-241-0/+17
|
* Fixed test failures introduced by refs #22881.Tim Graham2014-06-231-0/+7
|
* Fixed #22881 -- Better soft_applied migration detectionChris Beaven2014-06-232-1/+20
|
* Fixed #22875: Optimizer did not take through= into account.Andrew Godwin2014-06-221-0/+38
|
* Moved a line outside of try/except to prevent an error ↵Tim Graham2014-06-201-1/+1
| | | | | | in finally. Thanks Ian Foote.
* Fixed #22862 -- Added --noinput option to makemigrations.Huu Nguyen2014-06-201-15/+32
| | | | Thanks artortenburger for the report.
* Fixed several flake8 errorsAlex Gaynor2014-06-181-3/+2
|
* Fixed #22861: Internal migrations done first so ↵Andrew Godwin2014-06-185-4/+84
| | | | | | __first__ works Thanks to Chris Beaven.
* Fix __latest__ to actually resolve to the latest migrationAndrew Godwin2014-06-186-0/+57
|
* Fix broken testAndrew Godwin2014-06-181-3/+2
|
* Fixed #22853: Swapped models are now ignored for ↵Andrew Godwin2014-06-181-7/+110
| | | | migration operations.
* Fix previous commit on python 2Andrew Godwin2014-06-171-0/+0
|
* Fixed #22577: Python 3 broke on non-module migrations ↵Víðir Valberg Guðmundsson2014-06-172-0/+1
| | | | directory
* Removed some u'' prefixes to fix Python 3.2.Tim Graham2014-06-171-2/+2
|
* Added database migration for contrib.auth.Tim Graham2014-06-161-1/+5
| | | | refs #22170.
* Added database migration for contrib.contenttypes.Tim Graham2014-06-161-1/+1
| | | | | Moved contenttypes tests to allow them to run correctly in the presence of migrations. refs #22170.
* Fixed #22783: Make sure swappable models come first in ↵Andrew Godwin2014-06-161-1/+35
| | | | creation
* Fixed #22788 -- Ensured custom migration operations can ↵Matthew Schinckel2014-06-161-0/+22
| | | | | | | | be written. This inspects the migration operation, and if it is not in the django.db.migrations module, it adds the relevant imports to the migration writer and uses the correct class name.
* Removed usaged of contrib.sessions as a placeholder in ↵Tim Graham2014-06-163-34/+21
| | | | | | migration tests. Without this, we're unable to add actual migrations for the app.
* Fixed #22844: Duplicate SQL for SQLite FKsAndrew Godwin2014-06-161-0/+43
|
* Fixed several flake8 errorsAlex Gaynor2014-06-161-2/+2
|
* Fixed #22568: Better proxy model support in migrationsAndrew Godwin2014-06-162-14/+110
|
* Fixed #22470: Full migration support for ↵Andrew Godwin2014-06-153-0/+115
| | | | order_with_respect_to
* Persist non-schema-relevant Meta changes in migrationsAndrew Godwin2014-06-152-0/+28
|
* Fixed #22833: Autodetector not doing through mapping ↵Andrew Godwin2014-06-151-0/+15
| | | | correctly
* Fixed #22823 (and partly #22563) - FKs from unmigrated ↵Andrew Godwin2014-06-1211-0/+96
| | | | | | apps breaking state. Thanks to bendavis78 for the test and diagnostic work.
* Remove overzealous migration flushes from migration test ↵Andrew Godwin2014-06-091-4/+3
| | | | suite
* Fixed #22777: Add dependency on through for autodetected ↵Andrew Godwin2014-06-091-1/+15
| | | | M2M adds
* Fixed #22750, #22248: Model renaming now also alters ↵Andrew Godwin2014-06-083-69/+36
| | | | field FKs
* Fixed #22436: More careful checking on method ref'ce ↵Andrew Godwin2014-06-081-0/+27
| | | | serialization
* Rewrote migration autodetector to involve actual ↵Andrew Godwin2014-06-061-22/+129
| | | | | | computer science. Fixes #22605, #22735; also lays the ground for some other fixes.
* Merge pull request #2736 from ↵Andrew Godwin2014-06-065-0/+91
|\ | | | | | | | | SmileyChris/migration-run_before Fixed #22725 - Migration.run_before does nothing
| * Implement Migration.run_beforeChris Beaven2014-05-295-0/+91
| | | | | | | | | | This attribute (used for reverse dependencies) was previously declared and mentioned in the code, but never actually used.
* | Fixed #22659 -- Prevent model states from sharing field ↵Simon Charette2014-06-012-3/+20
| | | | | | | | | | | | instances. Thanks to Trac alias tbartelmess for the report and the test project.
* | Improved the test for refs #22682.Moayad Mardini2014-05-301-9/+7
| | | | | | | | Thanks apollo13 for the review.
* | Fix additional test failures caused by migration pollutionAndrew Godwin2014-05-301-6/+6
| |
* | Fixed #22682 -- `makemigrations` will create ↵Moayad Mardini2014-05-301-0/+35
|/ | | | | | | | | `MIGRATION_MODULES` package `makemigrations` will automatically create the package specified in `MIGRATION_MODULES` if it doesn't already exist. Thanks ovidiuc4 for the report.
* Fixed #22675 -- makemigrations --dry-run to output ↵Moayad Mardini2014-05-261-0/+31
| | | | | | | migrations to stdout. `makemigrations --dry-run` will output the complete migrations file that would be written if it's used along with `--verbosity 3`.
* Fixed #22676 -- makemigrations --dry-run should not ask ↵Moayad Mardini2014-05-243-0/+43
| | | | | | | | | | for defaults Made the fix in InteractiveMigrationQuestioner class code, rather than MigrationAutodetector, because --dry-run shouldn't affect whether MigrationAutodetector will detect non-nullable fields, but the questioner should skip the question and returns a None for default (since that won't be used anyway) if --dry-run is used.