Is it possible to use Django's testing framework without having CREATE DATABASE rights?

Posted by superjoe30 on Stack Overflow See other posts from Stack Overflow or by superjoe30
Published on 2010-05-18T11:32:40Z Indexed on 2010/05/18 12:51 UTC
Read the original article Hit count: 221

Filed under:
|

Since I don't have a hundred bazillion dollars, my Django app lives on a shared host, where all kinds of crazy rules are in effect. Fortunately, they gave me shell access, which has allowed me to kick butts and take names. However I can't do anything about not having CREATE DATABASE rights.

I'm using postgresql and have a killer test suite, but am unable to run it due to the code not being able to create a new database. However I am able to create said database beforehand via cPanel and use it with Django. I just don't have CREATE DATABASE rights.

Is there a way I can still run my test suite?

© Stack Overflow or respective owner

Related posts about django

Related posts about postgresql