You cannot import models in modules that define application
configuration classes, but you can use get_model() to access a
model class by name, like this:
Does this also apply to models of other apps? In particular, I need
import django.contrib.auth.models in my ready() method. Importing
it seems to work. So is this the way to go?