Learn Python (day?:month!4)
来源:互联网 发布:数据交换方案 编辑:程序博客网 时间:2024/03/29 01:37
一直拖到寒假了...总算是入门了
还有一张图
也算Django入门
django install
django-admin startproject myproject
django-admin startapp blog
vim settings.py
app add--->blog
vim urls.py
url(r'blog/index/$','blog.views.index')
vim blog/views.py
from django.http import HttpResponse
def index(req):
return HttpResponse('<h1>hello</h1>')
python manager.py runserver
url:127.0.0.1:8000/blog/index
ps:相关软件
centos6.5
vm10.0
python2.6.6
Django-1.3.7
mySQL尚未安装
pps:linux不好玩
0 0
- Learn Python (day?:month!4)
- Learn Python (day 2)
- Learn Python (day 3) :字符串
- English learn day by day
- learn and day day up
- iOS9 learn Day-by-Day
- Sql Get Last Day of Month...
- clean set path,month,day files
- SQL day() 、month()、year()的应用
- python Day 4
- 【NO.2】set day of year from month & day
- ORA-01847: day of month must be between 1 and last day of month
- ORA-01847: day of month must be between 1 and last day of month 解决方法
- ORA-01847: day of month must be between 1 and last day of month 解决方法
- Oracle 之 ORA-01847: day of month must be between 1 and last day of month
- Learn Emacs in 21 Days: day 4 学习笔记
- The next day yo learn Python(第二天学习Python)
- month
- 54. Spiral Matrix Leetcode Python
- 软件项目交易网
- 从ORM到尾差计算
- 不吐不快
- Uva-253 - Cube painting-AC
- Learn Python (day?:month!4)
- 游戏开发流程
- Minimum Number of Platforms Required for a Railway/Bus Station 贪心算法
- 黑马程序员——java中内部类的浅析 总结
- HTML5定稿了 为什么原生App世界将被颠覆
- 使用wireshark常用的过滤命令
- UVA10214 Trees in a Wood. 欧拉phi函数
- Keil MDK RTE 兼容 keil4 的STM32F10x标准库
- [ROM制作教程] 【自制ROM工具大集合】各种修改制作ROM工具软件详解以及运用全集合