AppConfig.ready() [source]
Subclasses can override this method to perform initialization tasks such as registering signals. It is called as soon as the registry is fully populated.
Although you can’t import models at the module-level where AppConfig classes are defined, you can import them in ready(), using either an import statement or get_model().
If you’re registering model signals, you can refer to the sender by its string label instead of using the model class itself.
Example:
from djan