Andy McKay

Feb 10, 2007

Running tests in Django


Found I was getting this error in Django running tests:

Got an error recreating the test database: must be owner of database test_clearwind 

Did a bit of googling and took a while, so in case I get it again the answer is to run the following in psql:

alter user django createdb;
Where django is the name of my user.