2010年3月31日

摘要: http://superuser.com/questions/68518/installing-mercurial-on-debian-lenny直接使用apt-get安装,所安装的版本为1.0.1 与后来的版本不兼容,使用easy_install安装在编译的时候会出错, 不管是安装最新版本还是easy_install "mercurial=1.3.1" 安装1.3.1。以下是两种安装更新版本的方... 阅读全文
posted @ 2010-03-31 20:57 ddper 阅读(224) 评论(0) 推荐(0) 编辑
摘要: In [1]: from django.contrib.auth.models import UserIn [2]: User.objects.all()[0]Out[2]: <User: admin>In [3]: from django.db import connectionIn [4]: connection.queriesOut[4]:[{'sql': u'SELECT `auth_user`.`id`, `auth_user`.`username`, `auth_user`.`first_name`, `auth_user`.`last_name 阅读全文
posted @ 2010-03-31 20:23 ddper 阅读(392) 评论(0) 推荐(0) 编辑

导航