When database was deleted it's global static variable (argtch!) was
not deleted. Causing problems if after that QDjango::database()
was called.