Skip to content

Commit

Permalink
Fixed #13248 -- Corrected the output of sqlsequencereset after the m2…
Browse files Browse the repository at this point in the history
…m changes. Thanks to EroSennin for the report, and Gabriel Hurley for the fix.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
freakboy3742 committed Apr 1, 2010
1 parent db5be42 commit c39ec6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/core/management/commands/sqlsequencereset.py
Expand Up @@ -17,4 +17,4 @@ class Command(AppCommand):

def handle_app(self, app, **options):
connection = connections[options.get('database', DEFAULT_DB_ALIAS)]
return u'\n'.join(connection.ops.sequence_reset_sql(self.style, models.get_models(app))).encode('utf-8')
return u'\n'.join(connection.ops.sequence_reset_sql(self.style, models.get_models(app, include_auto_created=True))).encode('utf-8')

0 comments on commit c39ec6d

Please sign in to comment.