(self, *app_labels, **options)
| 645 | ) |
| 646 | |
| 647 | def handle(self, *app_labels, **options): |
| 648 | from django.apps import apps |
| 649 | |
| 650 | try: |
| 651 | app_configs = [apps.get_app_config(app_label) for app_label in app_labels] |
| 652 | except (LookupError, ImportError) as e: |
| 653 | raise CommandError( |
| 654 | "%s. Are you sure your INSTALLED_APPS setting is correct?" % e |
| 655 | ) |
| 656 | output = [] |
| 657 | for app_config in app_configs: |
| 658 | app_output = self.handle_app_config(app_config, **options) |
| 659 | if app_output: |
| 660 | output.append(app_output) |
| 661 | return "\n".join(output) |
| 662 | |
| 663 | def handle_app_config(self, app_config, **options): |
| 664 | """ |
nothing calls this directly
no test coverage detected