diff --git a/django/core/management/commands/loaddata.py b/django/core/management/commands/loaddata.py
index bfeba68..6a0bd26 100644
|
a
|
b
|
class Command(BaseCommand):
|
| 123 | 123 | fixture = open_method(fixture_file, 'r') |
| 124 | 124 | try: |
| 125 | 125 | self.fixture_count += 1 |
| 126 | | objects_in_fixture = 0 |
| | 126 | if self.verbosity >= 1: |
| | 127 | class ObjectsInFixtureNotifier(int): |
| | 128 | def __iadd__(self, other): |
| | 129 | self = ObjectsInFixtureNotifier(self + other) |
| | 130 | self.stdout.write('Processed %i object(s)\r' % self) |
| | 131 | return self |
| | 132 | ObjectsInFixtureNotifier.stdout = self.stdout |
| | 133 | objects_in_fixture = ObjectsInFixtureNotifier(0) |
| | 134 | else: |
| | 135 | objects_in_fixture = 0 |
| 127 | 136 | loaded_objects_in_fixture = 0 |
| 128 | 137 | if self.verbosity >= 2: |
| 129 | 138 | self.stdout.write("Installing %s fixture '%s' from %s." % |