Clarified AppConfig.ready() docs example.
@@ -256,8 +256,13 @@ Methods
Example::
+ from django.apps import AppConfig
from django.db.models.signals import pre_save
+
+ class RockNRollConfig(AppConfig):
+ # ...
+
def ready(self):
# importing model classes
from .models import MyModel # or...
