Tests broken when I have two database in settings

16 views
Skip to first unread message

Rodrigo Braga

unread,
Sep 4, 2017, 10:28:41 AM9/4/17
to Django users
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


Melvyn Sopacua

unread,
Sep 4, 2017, 12:41:21 PM9/4/17
to django...@googlegroups.com
Did you read the documentation on this?

https://docs.djangoproject.com/en/1.11/topics/testing/advanced/#tests-and-multiple-databases
> --
> 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...@googlegroups.com.
> To post to this group, send email to django...@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
Reply all
Reply to author
Forward
0 new messages