Re: django test db

2009-07-03 Thread Michael Stevens
Might work, feels a bit hacky though. Thanks, Michael 2009/7/3 Boštjan Jerko : > > > On 3.7.2009, at 11:36, Michael Stevens wrote: > >> >> Hi. >> >> Is there a nice way to use a separate db user when running tests? >> >> I don't want my main user to have to have permissions to do things >> like

Re: django test db

2009-07-03 Thread Michael Stevens
Rama - I know about TEST_DATABASE_NAME, but I want to use a different user as well. 2009/7/3 Boštjan Jerko : > > > On 3.7.2009, at 11:36, Michael Stevens wrote: > >> >> Hi. >> >> Is there a nice way to use a separate db user when running tests? >> >> I don't want my main user to have to have perm

Re: django test db

2009-07-03 Thread Boštjan Jerko
On 3.7.2009, at 11:36, Michael Stevens wrote: > > Hi. > > Is there a nice way to use a separate db user when running tests? > > I don't want my main user to have to have permissions to do things > like creating databases. > > I'm currently experimenting with doing something with a separate > set

Re: django test db

2009-07-03 Thread Rama Vadakattu
you can use the setting TEST_DATABASE_NAME http://docs.djangoproject.com/en/dev/ref/settings/#test-database-name --rama On Jul 3, 2:36 pm, Michael Stevens wrote: > Hi. > > Is there a nice way to use a separate db user when running tests? > > I don't want my main user to have to have permission

django test db

2009-07-03 Thread Michael Stevens
Hi. Is there a nice way to use a separate db user when running tests? I don't want my main user to have to have permissions to do things like creating databases. I'm currently experimenting with doing something with a separate settings.py file but it doesn't feel nice. Michael --~--~-