為什么 no moudle name hello
from?django.shortcuts?import?render from?django.http?import?HttpResponse #?Create?your?views?here. def?hello(request): return?HttpResponse('<html>Hello?world!</html>') runserver?一直提示?no?moudle?name?不知道原因處在哪里?urls.py的配置改了好幾遍 url(r'^helloworld/$',?views.hello)
2017-02-17
你看一下 是不是沒有引入model包 前面加一個(gè)
from . import models