Raise an exception if all models haven't been imported yet.
(self)
| 138 | raise AppRegistryNotReady("Apps aren't loaded yet.") |
| 139 | |
| 140 | def check_models_ready(self): |
| 141 | """Raise an exception if all models haven't been imported yet.""" |
| 142 | if not self.models_ready: |
| 143 | raise AppRegistryNotReady("Models aren't loaded yet.") |
| 144 | |
| 145 | def get_app_configs(self): |
| 146 | """Import applications and return an iterable of app configs.""" |
no test coverage detected