Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/migrations/models.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs #23822 -- Made MigrationOptimizer aware of model ↵Markus Holtermann2015-01-071-0/+4
| | | | managers
* Fixed #23822 -- Added support for serializing model ↵Markus Holtermann2014-12-151-0/+18
| | | | | | | managers in migration Thanks to Shai Berger, Loïc Bistuer, Simon Charette, Andrew Godwin, Tim Graham, Carl Meyer, and others for their review and input.
* Fixed #22970: Incorrect dependencies for existing ↵Andrew Godwin2014-07-101-0/+8
| | | | migrated apps
* Fixed #22447 -- Make sure custom model bases can be ↵Simon Charette2014-04-291-0/+9
| | | | | | migrated. Thanks to cdestigter for the report.
* Renamed AppCache to Apps.Aymeric Augustin2013-12-241-3/+3
| | | | | | Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
* Moved apps back in the toplevel django namespace.Aymeric Augustin2013-12-221-1/+1
| | | | Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
* Deborgified the app cache.Aymeric Augustin2013-12-171-3/+3
| | | | | | | | | | | | | Improved Andrew's hack to create temporary app caches to handle migrations. Now the main app cache has a "master" flag set to True (which is a non-default keyword argument, thus unlikely to be used by mistake). Other app cache instances have "master" set to False. The only sanctioned way to access the app cache is by importing django.core.apps.app_cache. If you were instanciating an app cache and relying on the Borg pattern, you'll have to refactor your code.
* Moved the new app cache inside core.Aymeric Augustin2013-12-171-1/+1
|
* Moved django.db.models.loading to django.apps.cache.Aymeric Augustin2013-12-171-1/+1
| | | | This commit doesn't contain any code changes; it's purely a refactoring.
* Added test for a921f06 - refs #21280.Loic Bistuer2013-10-171-0/+15
| | | | | This commit also lays the groundwork for future tests for the makemigrations command.
* Fixed #20977 -- Fixed writing migrations to disk on Python 3Markus Holtermann2013-09-061-0/+20
|
* Adding a dependency graph class and testsAndrew Godwin2013-05-101-0/+0