Ticket #7198: sql_no_models_r7520.patch
File sql_no_models_r7520.patch, 679 bytes (added by , 17 years ago) |
---|
-
django/core/management/base.py
128 128 if not app_labels: 129 129 raise CommandError('Enter at least one appname.') 130 130 try: 131 app_list = [models.get_app(app_label ) for app_label in app_labels]131 app_list = [models.get_app(app_label, emptyOK=True) for app_label in app_labels] 132 132 except (ImproperlyConfigured, ImportError), e: 133 133 raise CommandError("%s. Are you sure your INSTALLED_APPS setting is correct?" % e) 134 134 output = []