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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
David Johns's avatar
11
David Johns
asked 7 years ago
Wingware Support's avatar
4.3k
Wingware Support
updated 6 years ago

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Wingware Support's avatar
4.3k
Wingware Support
answered 7 years ago
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 (7 years ago)
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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)