I really don't know what's going on with the latest release of PyCharm. I come back to my Django project after working on it the last time in September, and now the path-setting to my django project (which I had to set up again) is screwed up.
Well, okay my directory-structure is like this, (and always has been):
So, I set up my Django settings like you see in the image. The settings immediately acknowledge that there is a manage.py, and everything should be fine. Except that nothing works really.
When I want to start the server I get (just the beginning and end of the output):
Traceback (most recent call last):
File "/Applications/PyCharm.app/helpers/pycharm/django_manage.py", line 21, in <module>
raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e))
ImportError: Could not import settings 'src.p4rsrv.settings' (Is it on sys.path?): No module named src.p4rsrv.settings
So, evidently the wrong manage.py is executed. This drives me crazy, I changed the Django settings a hundred times and do not know what's the problem here. Please help me.
On a side note: It really annoys me that I have to go through all this setup stuff again because of a new release of PyCharm.