diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-31 00:08:55 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-31 00:10:49 +0100 |
| commit | a5e2a0e569809b7ea0c379e12d637ef0e5c9c8b9 (patch) | |
| tree | 70b0af9aa4c1a2b5bb634a47009c8a5ba2b77331 /docs | |
| parent | bfcc686d22df10c268752635947dd242317ba156 (diff) | |
Added release notes for today's app-loading improvements.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.7.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index 87fa419188..728c7e64b0 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -73,12 +73,19 @@ attach configuration data to applications. Improvements thus far include: +* Applications can run code at startup, before Django does anything else, with + the :meth:`~django.apps.AppConfig.setup` method of their configuration. + * It is possible to omit ``models.py`` entirely if an application doesn't have any models. * The name of applications can be customized in the admin with the :attr:`~django.apps.AppConfig.verbose_name` of application configurations. +* Django imports all application configurations and models as soon as it + starts, through a deterministic and straightforward process. This should + make it easier to diagnose import issues such as import loops. + New method on Field subclasses ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
