Django views does not exist or could not import

前端 未结 7 1444
温柔的废话
温柔的废话 2021-02-12 07:59

This morning i have been working on my project. I finished what i was doing and i pushed new code to git.

Now, i went to run my project to start working on it and index

7条回答
  •  南方客
    南方客 (楼主)
    2021-02-12 08:43

    Try doing a

        python ./manage.py shell
    

    and then importing the view that is giving you the problem. That might end up giving you more useful debugging information.

    > from ism.views import index
    

提交回复
热议问题