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
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
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
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
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
--~--~-
5 matches
Mail list logo