import blog出错
E:\python\venv\Scripts\python.exe E:/python/imooc/myblog/myblog/urls.py
Traceback (most recent call last):
File "E:/python/imooc/myblog/myblog/urls.py", line 18, in <module>
from . models import blog
ValueError: Attempted relative import in non-package
我也是import blog报错
改成from . models import blog后就又出现上面的错误