Django: No module named 'app'

前端 未结 2 2086
感情败类
感情败类 2021-01-02 14:20

Django barfs with

ImportError at /store/
No module named store

But right there is the debug message there is the setting

IN         


        
2条回答
  •  爱一瞬间的悲伤
    2021-01-02 14:54

    thanks to Paul Draper, after I changed the

    re_path('api/(?P(v1|v2))/', include('music.urls'))
    

    into :

        re_path('api/(?P(v1|v2))/', include('musicservices.music.urls'))
    

    the problem resolved.

提交回复
热议问题