From e187caa3afd7d292353fb32be1647da2cf0968da Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Mon, 30 Dec 2013 12:49:53 +0100 Subject: Added AppConfig.setup() to run setup code. --- docs/ref/applications.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/ref') 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 ==================== -- cgit v1.3