| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-01-13 | Fixed #27685 -- Added watchman support to the autoreloader. | Tom Forbes | |
| Removed support for pyinotify (refs #9722). | |||
| 2018-09-26 | Fixed #29768 -- Improved error message when an AppConfig has a typo in ↵ | Marten Kenbeek | |
| INSTALLED_APPS. | |||
| 2018-01-30 | Added test for Apps.get_models() when models_ready=False. | Mads Jensen | |
| 2017-07-29 | Used assertRaisesMessage() to test Django's error messages. | Mads Jensen | |
| 2017-06-01 | Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. | Jon Dufresne | |
| 2017-03-17 | Replaced type-specific assertions with assertEqual(). | Tim Graham | |
| Python docs say, "it's usually not necessary to invoke these methods directly." | |||
| 2017-01-27 | Tested AppConfig.__repr__(). | Anton Samarchyan | |
| 2017-01-20 | Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. | Tim Graham | |
| These functions do nothing on Python 3. | |||
| 2017-01-19 | Refs #23919 -- Removed str() conversion of type and method __name__. | Simon Charette | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed six.PY2/PY3 usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-06-02 | Fixed #26616 -- Improved error message when AppConfig.name is invalid. | inondle | |
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2016-01-29 | Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as ↵ | Hasan | |
| appropriate. | |||
| 2016-01-11 | Added missing period to "etc.". | pp | |
| 2016-01-06 | Fixed #25746 -- Isolated inlined test models registration. | Simon Charette | |
| Thanks to Tim for the review. | |||
| 2015-11-14 | Fixed #25745 -- Promoted RuntimeWarnings to errors in the test suite. | Simon Charette | |
| 2015-09-23 | Refs #22789 -- Removed contrib.webdesign per deprecation timeline. | Tim Graham | |
| 2015-09-02 | Fixed #25246 -- Guarded against duplicate paths in AppConfig. | Caio Ariede | |
| 2015-08-31 | Fixed #25331 -- Removed trailing blank lines in docstrings. | Maxime Lorant | |
| 2015-06-30 | Refs #23621 -- Fixed warning message when reloading models. | Marten Kenbeek | |
| 2015-06-18 | Removed support for Python 3.3. | Tim Graham | |
| 2015-05-22 | Fixed #24776 -- Improved apps.get_app_config() error message on ↵ | Peter Inglesby | |
| fully-qualified package names. | |||
| 2015-05-20 | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | |
| 2015-03-25 | Fixed #24215 -- Refactored lazy model operations | Alex Hill | |
| This adds a new method, Apps.lazy_model_operation(), and a helper function, lazy_related_operation(), which together supersede add_lazy_relation() and make lazy model operations the responsibility of the App registry. This system no longer uses the class_prepared signal. | |||
| 2015-02-17 | Refs #24324 -- Fixed Python 2 test failures when path to Django source ↵ | Tim Graham | |
| contains non-ASCII characters. | |||
| 2015-02-08 | Added check_apps_ready() to Apps.get_containing_app_config() | Tim Graham | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-02-03 | Refactored tests that rely on an ImportError for Python 3.5 compatibility | Tim Graham | |
| 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 | |||
| 2014-10-22 | Fixed flake8 warning. | Tim Graham | |
| 2014-10-23 | Improved warning message when reloading models. Refs #23621. | Loic Bistuer | |
| Thanks dfunckt and Tim Graham. | |||
| 2014-10-23 | Fixed #23621 -- Warn for duplicate models when a module is reloaded. | Loic Bistuer | |
| Previously a RuntimeError was raised every time two models clashed in the app registry. This prevented reloading a module in a REPL; while it's not recommended to do so, we decided not to forbid this use-case by turning the error into a warning. Thanks @dfunckt and Sergey Pashinin for the initial patches. | |||
| 2014-09-08 | Fixed #22920 -- Avoid masking some exceptions. | Aymeric Augustin | |
| If loading an application trigger an ImportError, the details of that error were lost in some cases. Thanks Ben Davis for the report. | |||
| 2014-08-25 | Removed unnecessary absolute_imports. | Tim Graham | |
| 2014-01-27 | Fixed #21874 -- Require Django applications to have a filesystem path. | Carl Meyer | |
| Wherever possible this filesystem path is derived automatically from the app module's ``__path__`` and ``__file__`` attributes (this avoids any backwards-compatibility problems). AppConfig allows specifying an app's filesystem location explicitly, which overrides all autodetection based on ``__path__`` and ``__file__``. This permits Django to support any type of module as an app (namespace packages, fake modules, modules loaded by other hypothetical non-filesystem module loaders), as long as the app is configured with an explicit filesystem path. Thanks Aymeric for review and discussion. | |||
| 2014-01-26 | Fixed some missing/extraneous new line warnings. | Simon Charette | |
| 2014-01-26 | Fixed #21702 -- get_model('app_label.ModelName'). | Aymeric Augustin | |
| Also added tests for get_model. | |||
| 2014-01-25 | Moved sys.path-extending decorator to django.test.utils and used throughout ↵ | Carl Meyer | |
| test suite. Thanks Aymeric for the suggestion. | |||
| 2014-01-25 | Fixed #17304 -- Allow single-path and configured-path namespace packages as ↵ | Carl Meyer | |
| apps. Also document the conditions under which a namespace package may or may not be a Django app, and raise a clearer error message in those cases where it may not be. Thanks Aymeric for review and consultation. | |||
| 2014-01-25 | Fixed #21829 -- Added default AppConfigs. | Aymeric Augustin | |
| Thanks Russell for the report, Marc for the initial patch, Carl for the final review, and everyone who contributed to the design discussion. | |||
| 2014-01-24 | Fixed #21871 -- Fixed Apps.is_installed() for apps with custom label. | Carl Meyer | |
| Thanks Aymeric for design discussion. | |||
| 2014-01-06 | Fixed #21718 -- Renamed has_app to is_installed. | Aymeric Augustin | |
| 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-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 | 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-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. | |||
