Fixed 'django-admin.py syncdb' to take verbosity into account when loading initial_data fixture
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
3219a60167
commit
a89e401648
|
@ -125,6 +125,6 @@ class Command(NoArgsCommand):
|
||||||
else:
|
else:
|
||||||
transaction.commit_unless_managed()
|
transaction.commit_unless_managed()
|
||||||
|
|
||||||
# Install the 'initialdata' fixture, using format discovery
|
# Install the 'initial_data' fixture, using format discovery
|
||||||
from django.core.management import call_command
|
from django.core.management import call_command
|
||||||
call_command('loaddata', 'initial_data', **options)
|
call_command('loaddata', 'initial_data', verbosity=verbosity)
|
||||||
|
|
Loading…
Reference in New Issue