Yes, but django makes a new testDatabase and that's my problem, I want
django to use a database I've previously done.

On 8 February 2012 16:34, Mark Furbee <markfur...@gmail.com> wrote:

> Denis Darii already answered this on February 1st:
>
> "You can redefine your database connection by adding somewhere at the end
> of your settings.py something like:
>
> import sys
>
> if 'test' in sys.argv:
>
>     DATABASES = ...
>
> hope this helps."
>
>
> Did you try this?
>
> On Wed, Feb 8, 2012 at 7:19 AM, xina towner <xinatow...@gmail.com> wrote:
>
>> Can I create a Database manually and then specify to the testing unit to
>> use that?
>>
>> --
>> Gràcies,
>>
>> Rubén
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
Gràcies,

Rubén

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to