s/ImproperlyConfigured/AppRegistryIsNotReady/g in compat.py