NameError at /
name 'hello' is not defined
Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version:
1.7.1 Exception Type: NameError Exception Value:
name 'hello' is not defined
Exception Location: E:\djcode\mysite\mysite\urls.py in , line 5 Python
Executable: C:\Python27\py
这不是Django的问题,你先把Python搞明白。
On Sunday, November 9, 2014 11:29:58 PM UTC+8, zhoumin...@gmail.com wrote:
>
> NameError at /
>
> name 'hello' is not defined
>
> Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version:
> 1.7.1 Exception Type: NameError Exception Value:
>
> name 'hell
这不是Django的问题。你先把Python搞明白。
On Sunday, November 9, 2014 11:29:58 PM UTC+8, zhoumin...@gmail.com wrote:
>
> NameError at /
>
> name 'hello' is not defined
>
> Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version:
> 1.7.1 Exception Type: NameError Exception Value:
>
> name 'hell
missing
from .views import hello
on urls.py
or use 'hello' as string
2014-11-11 11:54 GMT-02:00 tkdchen :
> 这不是Django的问题。你先把Python搞明白。
>
> On Sunday, November 9, 2014 11:29:58 PM UTC+8, zhoumin...@gmail.com wrote:
>
>> NameError at /
>>
>> name 'hello' is not defined
>>
>> Request Method: GE
actually, or use 'mysite.viess.hello' on the second argument of your url
definition
2014-11-11 13:07 GMT-02:00 Ricardo L. Dani :
> missing
>
> from .views import hello
>
> on urls.py
>
> or use 'hello' as string
>
> 2014-11-11 11:54 GMT-02:00 tkdchen :
>
> 这不是Django的问题。你先把Python搞明白。
>>
>> On Sund
5 matches
Mail list logo