Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/migrations/test_loader.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #24919 -- Allowed disabling of migrations on a per ↵Markus Holtermann2015-09-121-0/+23
| | | | app basis
* Fixed #24895 -- Fixed loading a pair of squashed ↵Carl Meyer2015-06-021-2/+27
| | | | migrations with a dependency.
* Fixed #24848 -- Fixed ValueError for faulty migrations ↵Marten Kenbeek2015-05-251-2/+10
| | | | | | | | | module. Added apps to unmigrated apps if the migrations module is a file or a folder missing __init__.py. Thanks to Ernest0x for the bug report.
* Moved migration exception classes to shared moduleMarkus Holtermann2015-05-021-2/+2
| | | | Thanks Aymeric Augustin for the review.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-3/+2
|
* Refactored tests that rely on an ImportError for Python ↵Tim Graham2015-02-041-1/+1
| | | | | | | | | | 3.5 compatibility A change in Python test discovery [1] causes the old packages that raised an error to be discovered; now we use a common directory that's ignored during discovery. Refs #23763. [1] http://bugs.python.org/issue7559
* Fixed #23733 -- Fixed squashing migrations that depend ↵twidi2014-10-301-0/+21
| | | | on multiple apps.
* Fixed #23556 -- Raised a more meaningful error message ↵Markus Holtermann2014-10-301-0/+104
| | | | when migrations refer to an unavailable node
* Replaced set([foo, ...]) by {foo, ...} literals. Refs PR ↵Thomas Chaumeny2014-09-281-1/+1
| | | | | | 3282. Thanks Collin Anderson for the review.
* Revert "Fixed #23384 -- Allowed overriding part of a ↵Claude Paroz2014-09-051-4/+1
| | | | | | | | | dictionary-type setting" 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.
* Fixed #23384 -- Allowed overriding part of a ↵Claude Paroz2014-08-301-1/+4
| | | | | | | | dictionary-type setting This change is needed for upcoming changes where settings might be grouped in a parent dictionary. Thanks Tim Graham for the review.
* Fixed #23071 -- Use last migration's name in dependency ↵Jeroen Dekkers2014-07-221-20/+0
| | | | | | | | to other app 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__.
* Fixed #22861: Internal migrations done first so ↵Andrew Godwin2014-06-181-0/+20
| | | | | | __first__ works Thanks to Chris Beaven.
* Fix __latest__ to actually resolve to the latest migrationAndrew Godwin2014-06-181-0/+20
|
* 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.
* Merge pull request #2736 from ↵Andrew Godwin2014-06-061-0/+16
|\ | | | | | | | | SmileyChris/migration-run_before Fixed #22725 - Migration.run_before does nothing
| * Implement Migration.run_beforeChris Beaven2014-05-291-0/+16
| | | | | | | | | | This attribute (used for reverse dependencies) was previously declared and mentioned in the code, but never actually used.
* | Fix additional test failures caused by migration pollutionAndrew Godwin2014-05-301-6/+6
|/
* Fixed #22485: Include all unmigrated apps in project ↵Andrew Godwin2014-04-301-3/+5
| | | | state by default.
* Fixed #22474 -- Made migration recorder aware of ↵Claude Paroz2014-04-301-1/+7
| | | | | | multiple databases Thanks Tim Graham for the review.
* Make test stronger to hopefully fix odd Jenkins failureAndrew Godwin2014-01-081-1/+1
|
* Fixed #21142: Dependency failures on unmigrated apps.Andrew Godwin2014-01-081-1/+28
|
* Renamed AppCache to Apps.Aymeric Augustin2013-12-241-1/+1
| | | | | | Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
* Imported override_settings from its new location.Aymeric Augustin2013-12-231-2/+1
|
* Fix migration planner to fully understand squashed ↵Andrew Godwin2013-10-231-9/+22
| | | | migrations. And test.
* Fixed #21015 -- Fixed MigrationLoader when ↵Loic Bistuer2013-09-061-0/+16
| | | | importlib.import_module returns a file module or an empty directory.
* Fixed #21014 -- Fixed gobbled ImportError in ↵Loic Bistuer2013-09-061-0/+7
| | | | MigrationLoader.
* Make migrate command recognise prefixes and 'zero'.Andrew Godwin2013-07-221-1/+14
|
* Fix test running with new apps stuff/migrate actually ↵Andrew Godwin2013-06-191-2/+4
| | | | running migrations
* Add an Executor for end-to-end runningAndrew Godwin2013-05-301-1/+1
|
* Start adding operations that work and tests for themAndrew Godwin2013-05-291-2/+37
|
* Split up test and make the State classes a bit better.Andrew Godwin2013-05-181-0/+29