hello world!!!!!

写下自己的一些心得,写下自己问题的方式,写下程序之路的艰辛,希望能够有朝一日成为大牛。
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年11月17日

摘要: one: sudo apt-get install mysql-server mysql-client two: show database; use mysql ; describe db; //注意要用结尾结束语句的查询 以下就是建立数据库,与建立表了。create database leeuse leecreate table student (id int(3) auto _increm... 阅读全文

posted @ 2010-11-17 22:31 陈力 阅读(432) 评论(2) 推荐(1) 编辑

摘要: 首先在myproject --(已经建立好的 pythonDjangoproject )建立一个模块 call : views.py代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--fromdjango.httpimportHttpResponse... 阅读全文

posted @ 2010-11-17 15:20 陈力 阅读(195) 评论(0) 推荐(0) 编辑

摘要: python manage.py shell 进入Django 项目环境。输入以下指令 [代码][代码]执行结果如下 下面以html的方式返回的代码如下:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<htmllang="en">&l... 阅读全文

posted @ 2010-11-17 11:29 陈力 阅读(257) 评论(0) 推荐(0) 编辑