Ask Your Question
1

Trouble configuring Wing IDE for a existing Django project

asked 2017-12-23 14:27:00 -0500

David Johns gravatar image

updated 2019-03-13 08:51:48 -0500

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

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2017-12-23 16:36:00 -0500

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.

edit flag offensive delete link more

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 gravatar imageDavid Johns ( 2017-12-23 16:47:00 -0500 )edit

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: 2017-12-23 14:27:00 -0500

Seen: 10 times

Last updated: Mar 07