Re: close connections and restart django?

2006-06-02 Thread Adrian Holovaty
On 5/29/06, shaunc <[EMAIL PROTECTED]> wrote: > I can do all the steps individually, but deleting the database requires > closing the db connection. Can I get django to cleanup and close its > connections in a way that will allow me to start it up again? Yeah, just do this: from django.db

close connections and restart django?

2006-05-29 Thread shaunc
Hello, I'm writing some scripts for a testing environment. I want to dump some core stuff from the database, recreate the database, and reload the stuff. I can do all the steps individually, but deleting the database requires closing the db connection. Can I get django to cleanup and close its