I am trying to start a new project with Django in Pydev, when I create it, I get the following structure:
ProjectName
| ProjectPkg
| | ProjectPkg
| | | __init__.py
| | | settings.py
| | | urls.py
| | __init__.py
| | settings.py
| | urls.py
| | manage.py
Why do I get two ProjectPkg pakages? And why do I have two settings.py/urls.py (only the inner ones work). I gess this is a bug, but anyone has noticed it? I didn’t get any clue from googling around…
I have tried creating manually the files and then making a new project in pydev using those files, but pydev creates the missing files to create the same annoying structure.
In Windows it works jst fine. Anyone has an idea of what might be going on and/or how to solve it?
Thanks a lot!
This is really a strange behavior. Did you already tried to let Django create your folder files, and then only importing the project folder created by Django as a PyDev project. See my other post which explains how to do it.