summaryrefslogtreecommitdiff
path: root/tests/apps
AgeCommit message (Collapse)Author
2014-01-06Fixed #21718 -- Renamed has_app to is_installed.Aymeric Augustin
2013-12-31Enforced unicity of app labels.Aymeric Augustin
Fixed #21679.
2013-12-31Made it possible to change an application's label in its configuration.Aymeric Augustin
Fixed #21683.
2013-12-30Removed the only_with_models_module argument of get_model[s].Aymeric Augustin
Now that the refactorings are complete, it isn't particularly useful any more, nor very well named. Let's keep the API as simple as possible. Fixed #21689.
2013-12-30Populated Apps instances immediately by default.Aymeric Augustin
2013-12-29Deprecated the app argument of apps.get_models.Aymeric Augustin
Use app_config.get_models() instead.
2013-12-28Changed get_model to raise an exception on errors.Aymeric Augustin
Returning None on errors required unpythonic error checking and was inconsistent with get_app_config. get_model was a private API until the previous commit, but given that it was certainly used in third party software, the change is explained in the release notes. Applied the same change to get_registered_model, which is a new private API introduced during the recent refactoring.
2013-12-28Populated non-master app registries.Aymeric Augustin
This removes the gap between the master app registry and ad-hoc app registries created by the migration framework, specifically in terms of behavior of the get_model[s] methods. This commit contains a stealth feature that I'd rather not describe.
2013-12-27Fixed a couple flake8 warnings.Aymeric Augustin
2013-12-26Added a test for Apps.has_app.Aymeric Augustin
2013-12-26Added file forgotten in previous commit, plus one more test.Aymeric Augustin
2013-12-26Added tests for invalid values of INSTALLED_APPS.Aymeric Augustin
2013-12-26Added basic tests for get_app_config[s].Aymeric Augustin
2013-12-26Turned apps.ready into a property. Added tests.Aymeric Augustin
2013-12-24Renamed AppCache to Apps.Aymeric Augustin
Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready().