title: how to import an existing django project to pycharm
body: <p>I have the following directory tree</p>
  
  <pre><code>myproject
  ├── data
  ├── libs
  └── wsgi
      ├── openshift
      └── static
  </code></pre>
  
  <p>openshift contains the settings file  and the manage.py file. I want to user manage.py through pycharm but it won't work, nor the runserver command nor the startapp neither anything to be precice. </p>
  
  <p>running startapp gives me the following errors</p>
  
  <pre><code>bash -cl "/usr/bin/python2.7 manage.py startapp quiz"
  /usr/bin/python2.7: can't open file 'manage.py': [Errno 2] No such file or directory
  
  Process finished with exit code 2
  </code></pre>
  
  <p>running runserver it gives me the following</p>
  
  <pre><code>ImportError: Could not import settings 'openshift.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named openshift.settings
  
  Process finished with exit code 1
  </code></pre>
  
  <p>I have enabled django support and set wsig as django root project. Running manage.py from terminal works fine.</p>
  
  <p>what am i doing wrong?</p>
  
  <p>EDIT: running manage.py shell from pycharm also works
  EDIT2: I managed to get it working by following openshift's structure and making openshift the django project root folder, and some edits to the imports. Now everything works great</p>