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