diff --git a/django/core/management/__init__.py b/django/core/management/__init__.py
index 34597bf..578f94e 100644
a
|
b
|
class ManagementUtility(object):
|
388 | 388 | try: |
389 | 389 | django.setup() |
390 | 390 | except ImproperlyConfigured: |
391 | | # Some commands are supposed to work without configured settings |
392 | | pass |
| 391 | # Check if ImproperlyConfigured is due to settings |
| 392 | try: |
| 393 | settings.INSTALLED_APPS |
| 394 | except ImproperlyConfigured: |
| 395 | # Some commands are supposed to work without configured settings |
| 396 | pass |
| 397 | else: |
| 398 | raise |
393 | 399 | |
394 | 400 | try: |
395 | 401 | subcommand = self.argv[1] |