Code

Ticket #7043: loaddata.diff

File loaddata.diff, 618 bytes (added by msaelices, 6 years ago)
Line 
1Index: django/core/management/commands/loaddata.py
2===================================================================
3--- django/core/management/commands/loaddata.py (revisión: 7438)
4+++ django/core/management/commands/loaddata.py (copia de trabajo)
5@@ -133,8 +133,7 @@
6         transaction.leave_transaction_management()
7 
8         if object_count == 0:
9-            if verbosity >= 2:
10-                print "No fixtures found."
11+            print "No fixtures found."
12         else:
13             if verbosity > 0:
14                 print "Installed %d object(s) from %d fixture(s)" % (object_count, fixture_count)