Take a newly-prepared model and pass it to each function waiting for it. This is called at the very end of Apps.register_model().
(self, model)
| 426 | apply_next_model(model_class) |
| 427 | |
| 428 | def do_pending_operations(self, model): |
| 429 | """ |
| 430 | Take a newly-prepared model and pass it to each function waiting for |
| 431 | it. This is called at the very end of Apps.register_model(). |
| 432 | """ |
| 433 | key = model._meta.app_label, model._meta.model_name |
| 434 | for function in self._pending_operations.pop(key, []): |
| 435 | function(model) |
| 436 | |
| 437 | |
| 438 | apps = Apps(installed_apps=None) |
no test coverage detected