1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Renamed AppConfig.setup to ready.

Thanks Jannis and Marc for the feedback.

Fixed #21717.
This commit is contained in:
Aymeric Augustin
2013-12-31 17:55:12 +01:00
parent 63137a8304
commit 1d23d766ab
6 changed files with 11 additions and 11 deletions

View File

@@ -74,7 +74,7 @@ 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.
the :meth:`~django.apps.AppConfig.ready` method of their configuration.
* It is possible to omit ``models.py`` entirely if an application doesn't
have any models.