mirror of https://github.com/django/django.git
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:
parent
3ddf250f91
commit
69f8840900
1
AUTHORS
1
AUTHORS
|
@ -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:
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue