自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (3)
  • 收藏
  • 关注

原创 django oracle 配置问题

ImproperlyConfigured: Error loading cx_Oracle module: libclntsh.so.11.1: cannot open shared object file: No such file or directory出现这种问题,在/etc/profile 里边添加 export LD_LIBRARY_PATH=/usr/lib/

2016-05-27 16:24:47 585

原创 django oracle 配置

django.db.utils.DatabaseError: ORA-12505: TNS:listener does not currently know of SID given in connect descriptor这个问题的出现。是因为 HOST 没有加上SIDDATABASES = { 'default': {

2016-05-26 16:48:11 853

原创 django 添加 app 路径问题

SETTINGS_DIR = os.path.dirname(__file__)APP_PATH = os.path.join(SETTINGS_DIR, 'apps')if APP_PATH not in sys.path: sys.path.insert(0, APP_PATH)这一段是添加在setting.py 文件上。这样就可以解决] ImportError: No mo

2016-05-26 11:18:14 1624

原创 django 消息模块 (messages ) 的使用

django 使用消息模块,要注意的是,返回的render_to_response 需要加上context_instance具体的:from django.contrib import messagesfrom django.shortcuts import render_to_response,RequestContextfrom django.template import

2016-05-13 10:45:15 4273

原创 python 列表解析 列表中的列表append问题

stackoverflow 的解释list.append mutates the list itself and returns None. List comprehensions are for storing the result, which isn't what you want in this case if you want to just change the o

2016-05-06 09:51:04 805

原创 python cx_oracle 取回数据后 LOB variable no longer valid after subsequent fetch

问题如题:python cx_oracle 取回数据后 LOB variable no longer valid after subsequent fetch解决方法:for fetch in cr.fethall(): fetch如此处理就好了。。。

2016-05-03 16:28:47 3534 1

解决error: Unable to find vcvarsall.bat

解决 error: Unable to find vcvarsall.bat 配置文件。 安装vs后,根据vs版本修改VS90COMNTOOLS对应的数字(我安装的是vs2013),安装了vs2013,测试不同的机子上使用配置文件解决问题

2016-04-26

cx_oracle python34 dll 文件

cx_oracle python34 dll 文件

2015-12-24

cx_oracle python27 dll 文件

python 连接 oracle 安装过程将该dll文件放到 X:\Python27\Lib\site-packages(X为安装盘)下替换原有文件

2015-12-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除