Django Book 翻译
菜单>:
TOC
返回
原文:
To test our changes to the URLconf, start the Django development server, as you did in Chapter 2, by running the command ``python manage.py runserver`` . (If you left it running, thats fine, too. The development server automatically detects changes to your Python code and reloads as necessary, so you dont have to restart the server between changes.) The server is running at the address ``http://127.0.0.1:8000/`` , so open up a Web browser and go to ``http://127.0.0.1:8000/time/`` . You should see the output of your Django view.
翻译:
启动Django开发服务器来测试修改好的 URLconf, 运行命令行 ``python manage.py runserver`` 。 (如果你让它一直运行也可以,开发服务器会自动监测代码改动并自动重新载入,所以不需要手工重启) 开发服务器的地址是 ``http://127.0.0.1:8000/`` ,打开你的浏览器访问 ``http://127.0.0.1:8000/time/`` 。 你就可以看到输出结果了。
备注:
译者: