[Fixed]-Import views file from app into project urls unresolved

1👍

Right click on the folder that contains manage.py, then scroll down to

mark directory as‘, then click on Sources Root. That solves the problem in Pycharm IDE.

0👍

It looks like grader/grader is on the Python path.

Therefore you would import views.py from grader/grader/cores with:

from core import views

0👍

The problem was solved by changing the Python interpreter from 2.7 to 3.5

Leave a comment