diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2007-04-27 10:55:47 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2007-04-27 10:55:47 +0000 |
| commit | 81a712762f54f95a4db12a53cf75af5ff8440140 (patch) | |
| tree | 36d431495dd6f14860dffd8ba712332ef60f2dc6 /django/core/management.py | |
| parent | 51e867a2e53a7f227e4deb7a760fe879c9910f6d (diff) | |
Fixed #3954 -- Disabled termcolors when loading fixtures. Well spotted, Vijay Sajip.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/core/management.py')
| -rw-r--r-- | django/core/management.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/django/core/management.py b/django/core/management.py index 0f8de891a1..d2f0d1e837 100644 --- a/django/core/management.py +++ b/django/core/management.py @@ -1318,6 +1318,8 @@ def load_data(fixture_labels, verbosity=1): from django.conf import settings import sys + disable_termcolors() + # Keep a count of the installed objects and fixtures count = [0,0] models = set() |
