学习django 按书上的 执行 manage.py dbshell 时, 报“'sqlite3' 不是内部或外部命令,也不是可运行的程序 或批处理文件。”也就是指,环境变量中没有“sqlite3”。 我是用的是 python2.7 , sqlite3是自带的, 难怪在环境变量中找不到它, 解...
分类:
数据库 时间:
2014-08-20 23:53:53
阅读次数:
1382
本文转自:http://blog.csdn.net/feixiang_song/article/details/17395811Overview总体概述CBCentralManagerobjects are used to manage discovered or connected remote ...
分类:
其他好文 时间:
2014-08-20 15:48:02
阅读次数:
246
通过ServiceTracker可以对查找的Service进行扩展
下面的demo引入装饰器模式对Service进行日志的扩展
demo:
Provider
student-manage/Activator.java
package com.demo.service;
import java.util.Dictionary;
import java.util.Has...
分类:
其他好文 时间:
2014-08-20 00:05:55
阅读次数:
211
django-admin startproject mysite create a djangopython manage.py runserver 运行服务器.pythonmanage.pyshell 运行类似ipython,这种方式一些配置才可生效.连接数据库之前需要创建一个数据库,创建时...
分类:
其他好文 时间:
2014-08-19 18:57:45
阅读次数:
181
ServiceListener三种状态:
ServiceEvent.REGISTERED
ServiceEvent.MODIFIED
ServiceEvent.UNREGISTERING
基于ServiceListener实现服务查找的demo
Provider
student-manage/Activator.j...
分类:
其他好文 时间:
2014-08-19 07:08:43
阅读次数:
264
We all know the Super Powers ofthis world and how they manage to get advantages in political warfare or evenin other sectors. But this is not a political platform and so we will talkabout a different ...
分类:
其他好文 时间:
2014-08-18 18:42:02
阅读次数:
191
Systems and methods are provided to manage risk associated with access to information within a given organization. The overall risk tolerance for the ...
分类:
数据库 时间:
2014-08-17 18:26:42
阅读次数:
392
1.首先现在magento后台创建一个新的分类,记下这个分类的 ID 号码。使用这个新建的分类来管理你的首页产品,这个分类设置为前台不可见。这样就不会显示在你的分类菜单中了,但使用代码调用的时候却会显示出来。2.在cms–>manage page–>home 适当位置添加如下代码(例如代码的最后){...
分类:
其他好文 时间:
2014-08-16 11:03:50
阅读次数:
187
1、 创建项目33进入在python目录下的scripts文件后执行django-admin.py startproject mysite这样就生成了名为mysite 的工程。 可执行.\manage.py runserver 运行开发服务器此时, 终端下会输出 登录 http://127.0.0....
分类:
其他好文 时间:
2014-08-13 21:51:47
阅读次数:
307
当你试着在Windows 2008 R2上安装Visual Studio 2008,你可以会遇到下面的情况:这是因为Windows 2008 R2已装集成了 .NET 3.5.1 framework,你只需通过Server Manager加起这个feature就可以了。打开Server Manage...
分类:
Web程序 时间:
2014-08-13 14:39:56
阅读次数:
227