mirror of https://github.com/django/django.git
Added fix for verbosity handling in loaddata and test commands.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
9c55bbdef7
commit
0b7f5def7f
|
@ -20,7 +20,7 @@ class Command(BaseCommand):
|
|||
|
||||
self.style = no_style()
|
||||
|
||||
verbosity = options.get('verbosity', 1)
|
||||
verbosity = int(options.get('verbosity', 1))
|
||||
|
||||
# Keep a count of the installed objects and fixtures
|
||||
count = [0, 0]
|
||||
|
|
|
@ -11,7 +11,7 @@ class Command(BaseCommand):
|
|||
from django.conf import settings
|
||||
from django.db.models import get_app, get_apps
|
||||
|
||||
verbosity = options.get('verbosity', 1)
|
||||
verbosity = int(options.get('verbosity', 1))
|
||||
interactive = options.get('interactive', True)
|
||||
|
||||
test_path = settings.TEST_RUNNER.split('.')
|
||||
|
|
Loading…
Reference in New Issue