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
This commit is contained in:
Russell Keith-Magee 2007-04-27 10:55:47 +00:00
parent 51e867a2e5
commit 81a712762f
2 changed files with 3 additions and 0 deletions

View File

@ -190,6 +190,7 @@ answer newbie questions, and generally made Django that much better:
Armin Ronacher
Oliver Rutherfurd <http://rutherfurd.net/>
Ivan Sagalaev (Maniac) <http://www.softwaremaniacs.org/>
Vinay Sajip <vinay_sajip@yahoo.co.uk>
David Schein
scott@staplefish.com
serbaut@gmail.com

View File

@ -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()