Ticket #7198: sql_no_models_r11600.patch
File sql_no_models_r11600.patch, 680 bytes (added by , 15 years ago) |
---|
-
django/core/management/base.py
278 278 if not app_labels: 279 279 raise CommandError('Enter at least one appname.') 280 280 try: 281 app_list = [models.get_app(app_label ) for app_label in app_labels]281 app_list = [models.get_app(app_label, emptyOK=True) for app_label in app_labels] 282 282 except (ImproperlyConfigured, ImportError), e: 283 283 raise CommandError("%s. Are you sure your INSTALLED_APPS setting is correct?" % e) 284 284 output = []