mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user