Groups
Groups
Sign in
Groups
Groups
Django users
Conversations
About
Send feedback
Help
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 AM
9/4/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
[1]
https://stackoverflow.com/questions/45962149/django-tests-broken-when-i-have-two-database-in-settings
Melvyn Sopacua
unread,
Sep 4, 2017, 12:41:21 PM
9/4/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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