Browse files

Revert "Fixed #19724 -- Output error when settings are improperly con…


This reverts commit 40ca990.
Outputting error is not always suitable, for example this shouldn't
happen for the 'startproject' command.
  • Loading branch information...
1 parent 40ca990 commit 2edef932ff4ffc766c7abe18bde2cc77babd8fef @claudep claudep committed Feb 4, 2013
Showing with 1 addition and 4 deletions.
  1. +1 −4 django/core/management/
@@ -107,13 +107,10 @@ def get_commands():
from django.conf import settings
apps = settings.INSTALLED_APPS
- except ImproperlyConfigured as e:
+ except ImproperlyConfigured:
# Still useful for commands that do not require functional settings,
# like startproject or help
apps = []
- sys.stderr.write(color_style().ERROR(
- "Project settings contain errors: %s\n"
- "As a result, only the core Django commands are available.\n" % e))
# Find and load the management module for each installed app.
for app_name in apps:

0 comments on commit 2edef93

Please sign in to comment.