首页 > 代码库 > django初体检课程
django初体检课程
最简便的Python web开发框架。
C:\Windows\System32>E:E:\>django-admin startproject mysiteE:\>cd mysiteE:\mysite>python manager.py runserverpython: can‘t open file ‘manager.py‘: [Errno 2] No such file or directoryE:\mysite>python manage.py runserverPerforming 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:57Django 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:8000Performing 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:46Django 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 shellE:\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]:
django初体检课程
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。