diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-30 12:49:53 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-30 22:11:16 +0100 |
| commit | e187caa3afd7d292353fb32be1647da2cf0968da (patch) | |
| tree | 4f06964b7980dbb10ccdee92593d2e42cfa1629f /docs | |
| parent | 0d2c8ff2be733c7cc83a023bbafe0258faa5603c (diff) | |
Added AppConfig.setup() to run setup code.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/applications.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/applications.txt b/docs/ref/applications.txt index 8505784737..5d9db49140 100644 --- a/docs/ref/applications.txt +++ b/docs/ref/applications.txt @@ -166,6 +166,12 @@ Methods ``model_name``. Raises :exc:`~exceptions.LookupError` if no such model exists. ``model_name`` is case-insensitive. +.. method:: AppConfig.setup() + + Subclasses can override this method to perform setup tasks such as + registering signals. It is called as soon as the registry is fully + populated. + Application registry ==================== |
