Friday, April 29, 2011

Cannot operate on a closed database

I'm trying to run a unittest, but it crashes with an exception, saying
"Cannot operate on a closed dabase". I'm not using the orm to insert
records, but raw SQL - and raw sql is the only option. When or what
closes the connection to the database?

--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment