First time here? Check out the FAQ!
1

using WING_TEST_DJANGO_SETTINGS_MODULE

I am neither a django expert nor an IDE expert and I do not understand how I should use the WING_TEST_DJANGO_SETTINGS_MODULE. Does this file exist ? if so where is it. If it does not exist where should I create it and where should I reference it?

piscvau's avatar
486
piscvau
asked 2021-09-08 04:07:22 -0600
Wingware Support's avatar
4k
Wingware Support
updated 2021-09-08 08:23:16 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

This is only needed if you are using a different settings module when running unit tests than when running Django normally. You can set it in the Environment in your Project Properties (from the Project menu).

In Wing 8.0.3+ the Django settings module for testing may also be set with --settings=<name> in the Run Args on the Testing page of the Project Properties dialog.

Wingware Support's avatar
4k
Wingware Support
answered 2021-09-08 08:22:54 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer