Did you read the documentation on this?

https://docs.djangoproject.com/en/1.11/topics/testing/advanced/#tests-and-multiple-databases

On Mon, Sep 4, 2017 at 3:16 PM, Rodrigo Braga <rbr...@gmail.com> wrote:
> Hello,
>
> I have troubles when I try running tests with two databases configured.
>
> I have migrations with RunPython (where the problem occurs).
>
> I opened a thread on Stackoverflow [1] but without answers yet.
>
> * sorry my English
>
> [1]
> https://stackoverflow.com/questions/45962149/django-tests-broken-when-i-have-two-database-in-settings
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/d279447c-021b-4af4-b8e6-f7f4bac7f92d%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Melvyn Sopacua

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2Bgw1GWyy3yMRvsS2TjS6jRQMDFXYDsBXVS7YeUFuN%2BKMKX%2BCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to