当前位置: 首页 > django
  • DJANGO FORMS:This field is required

    when meet This field is required at django forms, we can add “required=False” at Fields. from django import forms class ContactForm(forms.Form):    subject = forms.CharField(max_length=100)    message = forms.CharField()    sender = forms. ...

    阅读全文
    作者:u2 | 分类:python | 标签:
    DJANGO FORMS:This field is required已关闭评论
  • nginx+Django+memchached环境搭建备忘

    系统环境Kernal:Linux 2.6.9-78nginx-0.7.61pcre-7.9Python version: 2.5.4Django-1.1-py2.5mysql-5.0.84flup-1.0.2-py2.5MySQL_python-1.2.3c1-py2.5-linux-i686python_memcached-1.44-py2.5setuptools-0.6c9-py2.5 1、nginx、python、mysql的安装可参考官方及网上的安装文档 2、安装django  http://www.djangopr ...

    阅读全文
    作者:u2 | 分类:others | 标签:,
    nginx+Django+memchached环境搭建备忘已关闭评论