Added release notes for today's app-loading improvements.

This commit is contained in:
Aymeric Augustin 2013-12-31 00:08:55 +01:00
parent bfcc686d22
commit a5e2a0e569
1 changed files with 7 additions and 0 deletions

View File

@ -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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~