First time here? Check out the FAQ!
1

Trouble configuring Wing IDE for a existing Django project

Hi,

I am running Wing IDE 6 on Mint Mate and for some unknown reason, Wing has lost the project. I am now stuck with trying to configure the project again, but it seems that this is not happening. I have been struggling for the last day and everything I try is not working and I always end up with the same dialogue box:

"Please add you Django project directory (with manage.py and settings) to your wing project and then select Project > Extensions > Configure Project for Django menu item. Or use Start Django Project to start a new Django project from scratch."

I personally think the way Wing sets this up could be more helpful. For a start, manage.py and settings are in different directories. Also, where do I add these? As far as I can remember, you have to have a couple of lines such as :

DJANGO_SITENAME=trc
DJANGO_SETTINGS_MODULE=${DJANGO_SITENAME}.settings

Tried this and no go. I end up with the first dialogue again.

If anyone could help me, I would be entirely grateful.

Regards David

David Johns's avatar
11
David Johns
asked 2017-12-23 14:27:00 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2019-03-13 08:51:48 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

Have you added the directories that manage.py and settings are in to the project tool?  You'd do this via the Project menu -> Add Existing Directory.  You can either add the two directories individually or add an ancestor directory that contains both.

Wingware Support's avatar
4k
Wingware Support
answered 2017-12-23 16:36:00 -0500
edit flag offensive 0 remove flag delete link

Comments

Wicked!! Thanks very much. I was assuming I had to add the directory in the project properties dialogue. Now I have added it to the project tree, it worked straight away and the Django menu appeared.Thanks very much for the speedy reply..David

David Johns's avatar David Johns (2017-12-23 16:47:00 -0500) edit
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