Pycharm - Cannot find declaration to go to

后端 未结 3 1843
南笙
南笙 2021-01-07 21:13

I changed my project code from python 2.7 to 3.x.

After these changes i get a message \"cannot find declaration to go to\" when hover over any method and press ctrl

3条回答
  •  悲&欢浪女
    2021-01-07 21:26

    What worked for me was right-click on the folder that has the manage.py > Mark Directory as > Source Root.

提交回复
热议问题