1
0
mirror of https://github.com/django/django.git synced 2024-12-22 09:05:43 +00:00

Fixed #882 -- Fixed bug when doing django-admin.py sqlclear with SQLite. Thanks, ye7cakf02

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-11-25 04:27:50 +00:00
parent 3ddf250f91
commit 69f8840900
2 changed files with 2 additions and 0 deletions

View File

@ -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:

View File

@ -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.