Loading django/core/management/commands/loaddata.py +2 −0 Original line number Diff line number Diff line Loading @@ -116,8 +116,10 @@ class Command(BaseCommand): if sequence_sql: if self.verbosity >= 2: self.stdout.write("Resetting sequences\n") cursor = connection.cursor() for line in sequence_sql: cursor.execute(line) cursor.close() if self.verbosity >= 1: if self.fixture_object_count == self.loaded_object_count: Loading Loading
django/core/management/commands/loaddata.py +2 −0 Original line number Diff line number Diff line Loading @@ -116,8 +116,10 @@ class Command(BaseCommand): if sequence_sql: if self.verbosity >= 2: self.stdout.write("Resetting sequences\n") cursor = connection.cursor() for line in sequence_sql: cursor.execute(line) cursor.close() if self.verbosity >= 1: if self.fixture_object_count == self.loaded_object_count: Loading