| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2013-12-31 | Fixed #21714 -- Moved logging configuration to global setup() | Claude Paroz | |
| Thanks Aymeric Augustin for the report and the review. | |||
| 2013-12-31 | Enforced unicity of app labels. | Aymeric Augustin | |
| Fixed #21679. | |||
| 2013-12-31 | Made it possible to change an application's label in its configuration. | Aymeric Augustin | |
| Fixed #21683. | |||
| 2013-12-31 | Removed an obsolete unicity check. | Aymeric Augustin | |
| It doesn't account for app configs. Refs #21679. | |||
| 2013-12-31 | Made DeprecationDisplayTest more robust | Claude Paroz | |
| 2013-12-31 | Finished renaming syndication to syndication_tests | Claude Paroz | |
| 2013-12-31 | Renamed syndication tests | Claude Paroz | |
| To resolve the conflict between application names. | |||
| 2013-12-30 | Removed 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-30 | Merge pull request #2126 from apollo13/email_bytes | Florian Apolloner | |
| Many thanks to @bitdancer and @aaugustin for answering my stupid questions about (mail)encodings and pointing me in the right direction. | |||
| 2013-12-30 | Changed console and filebackend to use msg.as_bytes to output the data as it ↵ | Florian Apolloner | |
| would get send via smtp. | |||
| 2013-12-30 | Stopped populating the app registry as a side effect. | Aymeric Augustin | |
| Since it triggers imports, it shouldn't be done lightly. This commit adds a public API for doing it explicitly, django.setup(), and does it automatically when using manage.py and wsgi.py. | |||
| 2013-12-30 | Populated Apps instances immediately by default. | Aymeric Augustin | |
| 2013-12-29 | Deprecated the app argument of apps.get_models. | Aymeric Augustin | |
| Use app_config.get_models() instead. | |||
| 2013-12-29 | Changed get_validation_errors to use an app config. | Aymeric Augustin | |
| 2013-12-29 | Changed sql_* to use an app config instead of a models module. | Aymeric Augustin | |
| 2013-12-29 | Used Apps.clear_cache() in tests that alter the app registry. | Aymeric Augustin | |
| 2013-12-29 | Refactored the migration signals to use app configs. | Aymeric Augustin | |
| De-aliased pre/post_syncdb to pre/post_migrate to increase backwards-compatibility. | |||
| 2013-12-28 | Fixed #21242 -- Allowed more IANA schemes in URLValidator | Claude Paroz | |
| Thanks Sascha Peilicke for the report and initial patch, and Tim Graham for the review. | |||
| 2013-12-28 | Removed the only_installed argument of Apps.get_models. | Aymeric Augustin | |
| Refs #15903, #15866, #15850. | |||
| 2013-12-28 | Changed 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-28 | Stopped calling apps.get_model with only_installed=False. | Aymeric Augustin | |
| ContentTypes are only created for installed applications, and I could make a case for not returning a model that isn't installed any more. The check for stale ContentTypes in update_contenttypes doesn't use model_class. ModelSignal actually needs get_registered_model since the lookup happens at import time. I took this opportunity to perform a small refactoring. | |||
| 2013-12-28 | Populated 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-28 | Introduced as_bytes for SafeMIMEText (and other SafeMIME-classes). | Florian Apolloner | |
| This is to provide a consistent interface (namely bytes) for the smtp backend which after all sends bytes over the wire; encoding with as_string yields different results since mails as unicode are not really specified. as_string stays for backwardscompatibilty mostly and some debug outputs. But keep in mind that the output doesn't match as_bytes! | |||
| 2013-12-28 | Fixed #20346 -- Made cache middleware vary on the full URL. | ijl | |
| Previously, only the URL path was included in the cache key. Thanks jamey for the suggestion. | |||
| 2013-12-28 | Used app_label instead of appname. | Aymeric Augustin | |
| The last component of the dotted path to the application module is consistently referenced as the application "label". For instance it's AppConfig.label. appname could be confused with AppConfig.name, which is the full dotted path. | |||
| 2013-12-28 | Migrated built-in AppCommands to use handle_app_config. | Aymeric Augustin | |
| 2013-12-27 | Amend test table name so it doesn't clash. | Ramiro Morales | |
| Refs #21692 and 3efd1b8b939. | |||
| 2013-12-27 | Fixed #21692 -- Quote table name when creating it. | Ramiro Morales | |
| 2013-12-27 | Fixed a couple flake8 warnings. | Aymeric Augustin | |
| 2013-12-26 | Added a test for Apps.has_app. | Aymeric Augustin | |
| 2013-12-26 | Added file forgotten in previous commit, plus one more test. | Aymeric Augustin | |
| 2013-12-26 | Added tests for invalid values of INSTALLED_APPS. | Aymeric Augustin | |
| 2013-12-26 | Added basic tests for get_app_config[s]. | Aymeric Augustin | |
| 2013-12-26 | Fixed #21206 -- No longer run discovery if the test label doesn't point to a ↵ | Preston Timmons | |
| package or directory. Thanks thepapermen for the report and Carl Meyer for the review. | |||
| 2013-12-26 | Turned apps.ready into a property. Added tests. | Aymeric Augustin | |
| 2013-12-26 | Removed a few gratuitous lambdas. | Aymeric Augustin | |
| 2013-12-25 | Fixed unittest typo | Levi Gross | |
| 2013-12-24 | Added a missing import and removed an unneeded import | Alex Gaynor | |
| 2013-12-24 | Renamed 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(). | |||
| 2013-12-24 | Replaced ad-hoc caching of get_models with lru_cache. | Aymeric Augustin | |
| Invalidate properly the cache whenever all_models or app_configs change. This fixes some isolation issues in the test suite. | |||
| 2013-12-23 | Renamed two tests so they actually run. | Aymeric Augustin | |
| 2013-12-23 | Imported override_settings from its new location. | Aymeric Augustin | |
| 2013-12-23 | Dropped AppCache._empty, _with_app and _without_app. | Aymeric Augustin | |
| It's now easier to achieve the same effect with modify_settings or override_settings. | |||
| 2013-12-23 | Added modify_settings to alter settings containing lists of values. | Aymeric Augustin | |
| 2013-12-23 | Refactored INSTALLED_APPS overrides. | Aymeric Augustin | |
| * Introduced [un]set_installed_apps to handle changes to the INSTALLED_APPS setting. * Refactored [un]set_available_apps to share its implementation with [un]set_installed_apps. * Implemented a receiver to clear some app-related caches. * Removed test_missing_app as it is basically impossible to reproduce this situation with public methods of the new app cache. | |||
| 2013-12-22 | Fixed a flaky test. | Aymeric Augustin | |
| 2013-12-22 | Made apps available for loading traslations in a test. | Aymeric Augustin | |
| 2013-12-22 | Moved a test that didn't require Selenium. | Aymeric Augustin | |
| 2013-12-22 | Made AppConfig importable from django.apps. | Aymeric Augustin | |
| It is a public API. | |||
| 2013-12-22 | Moved apps back in the toplevel django namespace. | Aymeric Augustin | |
| Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2. | |||
