码迷,mamicode.com
首页 >  
搜索关键字:django setting django后台中文 django时区    ( 21377个结果
android 虚拟按键是通过哪种机制上报的?
1.在normal mode下,tp button也是和其它触摸事件一样,以坐标形式的input_event进行上报。在初始化时会通过tpd_button_setting()函数根据定义在tpd_custom_XXX.h文件中的配置信息将虚拟按键的坐标信息写在/sys/board_properties/virtualkeys.mtk-tpd中。工作时,tp driver将按下的点的坐标进行上报,A...
分类:移动开发   时间:2014-09-04 09:46:47    阅读次数:196
Gradle project sync failed.
Go to File > Settings > Gradle you will end up with this screen for setting up your gradle :Also make sure you have Google Repository in your Android ...
分类:其他好文   时间:2014-09-03 16:22:26    阅读次数:238
django+mod_wsig+apache搭建生产环境
1:安装mod_wsgi:下载mod_wsgi.so放在modules(在apache安装路径中)文件夹中下载地址:http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi **注意:在选择的时候要记住:mod_wsgi-3.5.ap22.win32-p...
分类:其他好文   时间:2014-09-03 11:14:06    阅读次数:344
IntelliJ IDEA常用配置
1:IDEA同时打开多个项目: 选择菜单File–Setting-General--->右侧Project Opening选择第一个Open project in new window; 接下来你通过菜单File–Reopen打开项目就以新窗口方式打开了.IDEA各种插件安装:http://bl.....
分类:其他好文   时间:2014-09-02 21:17:55    阅读次数:265
django 中文报错
在Django视图函数中经常出现类似于‘ascii‘ codec can‘t decode byte 0xef in position 0: ordinal not in range(128)的错误。 在解决错误之前,首先要了解unicode和utf-8的区别。 unicode指的是万国码,是一种“字...
分类:其他好文   时间:2014-09-02 18:16:55    阅读次数:141
Java Servlet/JSP容器配置 session id
http://www.eclipse.org/jetty/documentation/current/session-management.html#setting-session-characteristics hello-jee5 30 ...
分类:编程语言   时间:2014-09-02 17:16:15    阅读次数:214
django-cms 代码研究(二)
djangocms集成到现有项目中后,发现了几个问题:1. 现有项目的url匹配失效,下面requests请求被交给djangocms处理了 url(r'^admin/', include(admin.site.urls)), url(r'^requests/',include('eFo...
分类:其他好文   时间:2014-09-02 13:52:14    阅读次数:161
django新建支持中文mysql数据库
CREATE DATABASE 数据库名字 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
分类:数据库   时间:2014-09-02 12:42:54    阅读次数:219
android解锁界面,插上USB弹出打开USB存储设置界面,按HOME键/返回键直接回到launcher,而非滑动锁屏界面
1)如果将setting--》开发者选项--》USB调试  disable掉,表示当前是用户模式,锁屏界面下插上USB,AMS就会叫起UsbStorageActivity"打开USB存储设备"这个界面。 2)UsbStorageActivity界面在onCreate()中设置了如下属性:  getWindow().addFlags(WindowManager.LayoutParams.FL...
分类:移动开发   时间:2014-09-02 12:21:54    阅读次数:330
ArcGIS API For Flex(设置地图空间范围)
引用地址:https://developers.arcgis.com/flex/guide/using-extent.htm  本教程描述几种方式设置地图的范围以及如何取得用于其他操作程度。 Setting an extent 设置一个初始化的地图范围区别于默认。图1是默认,图2是设置后的,可以使用extent属性或Extent类 使用 extent 属性 在Map中...
分类:Windows程序   时间:2014-09-01 19:40:23    阅读次数:533
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!