Skip to content

Commit

Permalink
Fixed #882 -- Fixed bug when doing django-admin.py sqlclear with SQLi…
Browse files Browse the repository at this point in the history
…te. Thanks, ye7cakf02

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrian committed Nov 25, 2005
1 parent c09bc54 commit 29f94df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Expand Up @@ -80,6 +80,7 @@ answer newbie questions, and generally made Django that much better:
Milton Waddams
Rachel Willmer <http://www.willmer.com/kb/>
wojtek
ye7cakf02@sneakemail.com


A big THANK YOU goes to:
Expand Down
1 change: 1 addition & 0 deletions django/core/management.py
Expand Up @@ -187,6 +187,7 @@ def get_sql_delete(mod):

# Close database connection explicitly, in case this output is being piped
# directly into a database client, to avoid locking issues.
cursor.close()
db.db.close()

return output[::-1] # Reverse it, to deal with table dependencies.
Expand Down

0 comments on commit 29f94df

Please sign in to comment.