Ask Your Question
1

using WING_TEST_DJANGO_SETTINGS_MODULE

asked 2021-09-08 04:07:22 -0600

piscvau gravatar image

updated 2021-09-08 08:23:16 -0600

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-09-08 08:22:54 -0600

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2021-09-08 04:07:22 -0600

Seen: 59 times

Last updated: Sep 09