最简便的Python web开发框架

C:\Windows\System32>E:

E:\>django-admin startproject mysite

E:\>cd mysite

E:\mysite>python manager.py runserver
python: can't open file 'manager.py': [Errno 2] No such file or directory E:\mysite>python manage.py runserver
Performing system checks... System check identified no issues (0 silenced). You have unapplied migrations; your app may not work properly until they are applied.
Run 'python manage.py migrate' to apply them.
October 15, 2016 - 04:41:57
Django version 1.8, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
[15/Oct/2016 04:42:29]"GET /favicon.ico HTTP/1.1" 404 1936
[15/Oct/2016 04:42:31]"GET / HTTP/1.1" 200 1767
[15/Oct/2016 04:42:31]"GET /favicon.ico HTTP/1.1" 404 1936
E:\mysite>python manage.py runserver 0.0.0.0:8000
Performing system checks... System check identified no issues (0 silenced). You have unapplied migrations; your app may not work properly until they are applied.
Run 'python manage.py migrate' to apply them.
October 15, 2016 - 05:12:46
Django version 1.8, using settings 'mysite.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CTRL-BREAK. E:\mysite>
E:\mysite>python manage.py shell
E:\Anaconda\lib\site-packages\django\db\backends\sqlite3\base.py:57: RuntimeWarning: SQLite received a naive datetime (2016-10-15 05:14:48.740000) while time zone support is active.
RuntimeWarning) Python 2.7.12 |Anaconda 4.2.0 (32-bit)| (default, Jun 29 2016, 11:42:13) [MSC v.1500 32 bit (Intel)]
Type "copyright", "credits" or "license" for more information. IPython 5.1.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details. In [1]:

最新文章

  1. STP的作用和操作
  2. php 中的curl
  3. POJ 1426
  4. java文件保存至服务器
  5. ReactJs设置css样式
  6. tomcat字符,文档,数据库配置
  7. SqlServer 全局变量
  8. Linux之apt-get无sudo权限安装软件
  9. [C/C++] 各种C/C++编译器对UTF-8源码文件的兼容性测试(VC、GCC、BCB)
  10. Android-xUtils框架介绍(二)
  11. win 10应用商店下载应用错误码0x80070422
  12. Java前辈:学习J2EE流程中的经验和教训
  13. hdu - 1083 - Courses
  14. Ubuntu12.04password正确 入口的桌面(测试的恢复正常)
  15. python 字典的常见操作
  16. Java基础(4)-数组
  17. 如何在Oracle官网下载历史版本JDK
  18. Android的Binder的起源-android学习之旅(100)
  19. 《AngularJs实战》学习笔记(慕课网)
  20. 一文搞懂Java环境,轻松实现Hello World!

热门文章

  1. Scoi 2010 幸运数字
  2. 分享百度文件上传组件webUploader的使用demo
  3. Openfire源码使用Install4j打包
  4. k-means算法Java一维实现
  5. MySQL的Query Cache原理分析
  6. 黄聪:如何使用Add-on SDK开发一个自己的火狐扩展
  7. DomHelper
  8. NoSQL v.s. RDB
  9. ARP的一次请求与应答
  10. Druid.io系列(九):数据摄入