It is not a good idea to use dev server in Production Environment.
Apache or Nginx are good choice.Both of them are of great used as the web server.
...
分类:
其他好文 时间:
2014-09-25 02:39:28
阅读次数:
338
django上传文件template html(模板文件): 有如下一个form:from django import formsclass UploadFileForm(forms.Form): title = forms.CharField(max_length=50...
分类:
其他好文 时间:
2014-09-24 23:26:37
阅读次数:
255
随着IT运维技术日益更新,近几年运维自动化越来越火,而且学习python的人非常的火爆,尤其是python自动化运维开发,得到了很多前辈的推崇,尤其是老男孩培训中心、老男孩老师、Alex老师等,在这里非常感谢你们。这里我也记录一下以前学习Django的一点点心得和方法,方便以后自..
分类:
编程语言 时间:
2014-09-24 18:29:27
阅读次数:
178
一个简单的form表单:#polls/templates/polls/detail.html {{ question.question_text }}{% if error_message %}{{ error_message }}{% endif %} {% csrf_token %} {% fo...
分类:
其他好文 时间:
2014-09-24 18:19:47
阅读次数:
241
1.加入jar包com.springsource.org.aopalliance-1.0.0.jarcom.springsource.org.aspectj.weaver-1.6.8.RELEASE.jarcommons-logging-1.1.3.jarspring-aop-4.1.0.RELEASE.jarspring-aspects-4.1.0.RELEASE.jarspring-beans-4.1.0.RELEASE.jarspring-context-4.1.0.RELEASE.jarspri..
分类:
编程语言 时间:
2014-09-24 17:07:48
阅读次数:
273
URLConf:负责url到view的map,就是一个urls.py module,通常在project和app级别都要定义,#mysite/urls.pyfrom django.conf.urls import patterns, include, urlfrom django.contrib i...
分类:
其他好文 时间:
2014-09-24 16:46:37
阅读次数:
231
1.加入jar包com.springsource.org.aopalliance-1.0.0.jarcom.springsource.org.aspectj.weaver-1.6.8.RELEASE.jarcommons-logging-1.1.3.jarspring-aop-4.1.0.RELEA...
分类:
编程语言 时间:
2014-09-24 16:16:46
阅读次数:
220
初学spring,在网上搜到一篇spring3常见异常的文章,现转载如下:以下异常使用的是spring是3.1.1,是我自己学习中遇到的错误笔记,有可能不是都适用,仅做参考异常1:java.lang.NoClassDefFoundError: org/apache/commons/logging/L...
分类:
编程语言 时间:
2014-09-23 19:09:05
阅读次数:
186
1、首先需要导入包,必须导入的包如下: quartz-1.8.5.jar commons-logging.jar spring-core-3.0.5.RELEASE.jar spring-beans-3.0.5.RELEASE.jar spring-context-3.0.5.RELEAS...
分类:
其他好文 时间:
2014-09-23 18:50:25
阅读次数:
240