码迷,mamicode.com
首页 >  
搜索关键字:django setting django后台中文 django时区    ( 21377个结果
安卓开发之探秘蓝牙隐藏API(转)
源:http://www.cnblogs.com/xiaochao1234/p/3793172.html上次讲解Android的蓝牙基本用法,这次讲得深入些,探讨下蓝牙方面的隐藏API。用过Android系统设置(Setting)的人都知道蓝牙搜索之后可以建立配对和解除配对,但是这两项功能的函数没有...
分类:移动开发   时间:2014-09-18 12:57:53    阅读次数:370
ofbiz 本地化及邮件设置126邮箱
ofibz登陆功能有通过电子邮件找会密码的功能,但找回密码功能需要配置一个发送email的邮箱账号和smtp服务器的配置,具体配置如下:1:在ofbiz数据库的表product_store_email_setting中找到from_address字段,将该字段中值全部修改成配置的默认发送账号2:在g...
分类:其他好文   时间:2014-09-18 00:39:12    阅读次数:351
OpenCV on Mac OSX: A step-by-step guide
I’m using OpenCV for my 4th year design project and setting it up was a huge pain. I had to look through a whole bunch of different sites to figure ou...
分类:其他好文   时间:2014-09-17 21:43:42    阅读次数:317
django admin 扩展
添加自定义动作:例子,添加一个方法,批量更新文章,代码如下:from django.contrib import adminfrom myapp.models import Articledef make_published(self, request, queryset): rows_upd...
分类:其他好文   时间:2014-09-16 21:56:01    阅读次数:289
django-cms 代码研究(八)app hooks
app钩子,啥玩意呢?就是把现有的app,集成到cms的一种手段。有两种实现方式:1) 定义cms_app.py,如下:from cms.app_base import CMSAppfrom cms.apphook_pool import apphook_poolfrom django.utils....
分类:移动开发   时间:2014-09-16 17:17:30    阅读次数:206
webview setting movie path:程序崩溃
webview 调用loadHTMLString加载html文件的时候程序会崩溃,将show the breakpoint navigator下的断点去掉就可以了....
分类:Web程序   时间:2014-09-16 14:18:50    阅读次数:171
修改cron.daily的启动时间
要修改这个文件/etc/sysconfig/cron,要修改的内容如下: ## Type: string ## Default: "" # # At which time cron.daily should start. Default is 15 minutes after booting # the system. Example setting would...
分类:其他好文   时间:2014-09-16 10:47:50    阅读次数:351
Nginx+uwsgi或fastcgi部署Django项目
nginx+uwsgiubuntu下先安装下C编译器和Python环境:sudo apt-get install build-essential python-dev使用pip安装uwsgi:pip install uwsginginx配置:可以单独为站点设置一个配置文件:sudo vim /etc...
分类:其他好文   时间:2014-09-16 00:17:29    阅读次数:367
Django1.7学习(二)
7.玩转API接下来,我们进入 Python 的交互式 shell 中玩转 Django 提供的 API 。使用以下命令调用Python shell:python manage.py shell我们当前使用的环境不同于简单的输入 “python” 进入的 shell 环境,manage.py文件设置...
分类:其他好文   时间:2014-09-16 00:14:49    阅读次数:219
MySQL 定期备份脚本
#!/bin/bash? #This?is?a?ShellScript.?For?Auto?DB?Backup? #Powered?by?alex@wg927.com? #2014/2/25 #Setting? #设置数据库名,数据库登录名,密码,备份路径,日志路径,数据文件位置,以及备份...
分类:数据库   时间:2014-09-15 17:58:59    阅读次数:304
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!