Changeset 9110 for django/trunk/django/core/management/base.py
- Timestamp:
- 10/02/08 07:57:13 (3 months ago)
- Files:
-
- django/trunk/django/core/management/base.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/core/management/base.py
r9082 r9110 122 122 # Metadata about this command. 123 123 option_list = ( 124 make_option('-v', '--verbosity', action='store', dest='verbosity', default='1', 125 type='choice', choices=['0', '1', '2'], 126 help='Verbosity level; 0=minimal output, 1=normal output, 2=all output'), 124 127 make_option('--settings', 125 128 help='The Python path to a settings module, e.g. "myproject.settings.main". If this isn\'t provided, the DJANGO_SETTINGS_MODULE environment variable will be used.'), … … 210 213 translation.activate('en-us') 211 214 except ImportError, e: 212 # If settings should be available, but aren't, 215 # If settings should be available, but aren't, 213 216 # raise the error and quit. 214 217 sys.stderr.write(self.style.ERROR(str('Error: %s\n' % e)))
