Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #13248 -- Corrected the output of sqlsequencereset after the m2…

…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...
commit c39ec6dccb389fbb4047e44f5247e18bb76ae598 1 parent db5be42
Russell Keith-Magee authored April 01, 2010
2  django/core/management/commands/sqlsequencereset.py
@@ -17,4 +17,4 @@ class Command(AppCommand):
17 17
 
18 18
     def handle_app(self, app, **options):
19 19
         connection = connections[options.get('database', DEFAULT_DB_ALIAS)]
20  
-        return u'\n'.join(connection.ops.sequence_reset_sql(self.style, models.get_models(app))).encode('utf-8')
  20
+        return u'\n'.join(connection.ops.sequence_reset_sql(self.style, models.get_models(app, include_auto_created=True))).encode('utf-8')

0 notes on commit c39ec6d

Please sign in to comment.
Something went wrong with that request. Please try again.