django表单
一、主要内容
1、服务端获取HttpRequest信息
1)url相关信息
2)HttpRequest.META中包含的键值对
3)HttpRequest中用户提交的信息
4)HttpRequest.GET:来自于<form>标签提交,或url查询字符串
一般只是从服务端获取信息
HttpRequest.POST:来自于<form>标签提交
可能修改服务端信息
5)action=““意味着表单将提交给与当前页面相同的URL
2、多参数校验
1)发邮件
2)重定向:我们应每次都给成功的POST请求做重定向。 这就是web开发的最佳实践。
原因:post成功后,直接重定向,不会造成重复向同一个页面post数据(返回同一个页面时,但参数要求不同)。
3)forms类只有绑定了才有error信息:
initial函数不绑定,构造函数传入数据才绑定
4)forms类中使用"clean_字段名()"方法,自定义数据校验规则
5)forms类结合css进行渲染
二、基础代码
1、主要结构
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOAAAAD8CAIAAADhWz9WAAAVG0lEQVR4nO2d73MTR57G819c8TJ3uV3nrupSqbxI1sg2mMSJJXJZjIKTI4gEEttrSzYyJi7LPks+R4jlhyFYQglgSJSgQYAko5VVdutSRyov9sVVrlJ1qdpLdv2/3IvWjOZHz2hkqzU90uP6FCXG090z6OE7bbmffp7zTRdbzl2Trxup+3PxLI8RQafyHI9OqRyNB4+fz0OjoCnaKlDly/HbBm6hfQKlhFakieWHjt82cAvcBeqdLgzOZY8sSEci0pGINLzw4Mxibg99ekOlNCHVapWQSjhUcPwfDrQH7gJ9ayY/HMv7posjV8r+a5Wj8eL7C3sRKMUbKqUh0G6Cl0Bv39nwTheGph8NhZ8MLxV80c2Rq5XR1H++c3UrsJhZWF31z+7lRyUItNvgJdD0l/cOnst4Pv12cPnRm6vF4YtP376ydezGju+Pf7oQT+xu9Tx7MKCcTx/fhFTC8otzwae1I5Fyrvatgo8l0HCGVKvVarVK8uWAQbhKz+kMqVarudSmMlXIpTa9iQrmDILDS6Cf37rXtyC9sVp88+LT4Ut/8v6x7Lu8dfRqZWi1GL9yYXer52+l36ibKMrTviA62ekEaqeg0n7SiYI3Us7lywH1EPIRx98GYAYvgV6++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nDQRqPIikDtBOmhao8uX4pYNuoDmBUj4eGw98eMbxSwfdgD2BHn59YPLa4NzdIxHpSER6czY5evK045cOuoH/B42aD5CoJiX3AAAAAElFTkSuQmCC" alt="" />
2、urls.py
from django.conf.urls import patterns, include, url from django.contrib import admin
admin.autodiscover() urlpatterns = patterns('',
(r'^contact_author/$', 'django_manage_app.views.contact_author'),
(r'^thanks/$', 'django_manage_app.views.thanks'),
)
3、views.py
#coding:utf8
from django.http import HttpResponseRedirect
from django.shortcuts import render_to_response
from django_manage_app.forms import ContactForm def contact_author(request):
if request.method == 'POST':#提交请求时才会访问这一段,首次访问页面时不会执行
form = ContactForm(request.POST)
if form.is_valid():#说明各个字段的输入值都符合要求
cd = form.cleaned_data#只有各个字段都符合要求时才有对应的cleaned_data
print form.clean_message()
print cd['subject']
print cd['email']
print cd['message']
return HttpResponseRedirect('/thanks/')
else:#有部分字段不符合要求,会有error相关信息给加到form中去,需要覆盖掉
print form
print '数据不符合要求'
print form['subject'].errors
print form['email'].errors
print form['message'].errors
else:#首次访问该url时没有post任何表单
form = ContactForm()#第一次生成的form里面内容的格式
print form
print form.is_valid() #“首次访问”和“提交的信息不符合要求”时被调用
return render_to_response('contact_author.html', {'form': form}) def thanks(request): return render_to_response('thanks.html')
4、forms.py
#coding:utf8
from django import forms class ContactForm(forms.Form):
subject = forms.CharField(max_length=10,label='主题')#设置最大长度为10
email = forms.EmailField(required=False,label='Email')#非必要字段
message = forms.CharField(widget=forms.Textarea,label='信息')#指定form中组件的类型 #自定义校验规则,该方法在校验时被系统自动调用,次序在“字段约束”之后
def clean_message(self):
message = self.cleaned_data['message']#能到此处说明数据符合“字段约束”要求
num_words = len(message.split())
if num_words < 4:
raise forms.ValidationError("单词个数低于4个!")
return message
5、thanks.html
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<h2>Thanks for contact!!</h2>
</body>
</html>
三、两种不同的页面显示
1、forms.py中默认的方式(简单测试)
1)contact_author.html:
<html>
<style type="text/css">
{# <ul class="errorlist">。。。</ul> #}
{# ul标签下的class="errorlist"的属性进行渲染 #}{# 标签下的属性 #}
ul.errorlist {
margin: 0;
padding: 0;
}
{# <ul class="errorlist"><li>单词个数低于4个!</li></ul> #}
{# errorlist class下的 li标签内的元素进行渲染 #}{# 属性下一级的标签 #}
.errorlist li {
background-color: red;
color: white;
display: block;
font-size: 10px;
margin: 0 0 3px;
padding: 4px 5px;
}
.field{
background-color: gray;
}
</style>
<head>
<title>Contact us</title>
</head>
<body>
{% if form.errors %}
<p style="color: red;">
Please correct the error{{ form.errors|pluralize }} below.
</p>
{% endif %} <form action="" method="post">
<table>
{{ form.as_table }}
</table>
<input type="submit" value="提交">
</form>
</body>
</html>
2)测试
初次访问:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXcAAAEECAIAAABcFOPGAAAHpUlEQVR4nO3cT07j/B3Hcd9kjjJHYDk3mDWbiCvwsEGIY1Rd9SBVq2pUTXeIBaI86h/+LAJSukBKM45tTMafOHzn9ZI1cmI7JPo5b9kecLMCSGrmfgNAcSoDZKkMkKUyQJbKAFkqA2SpDJClMkCWygBZKgNkqQyQ9eEr84c//slUY5p7VyKlQmXmfgtMwDgWpjIcBONY2Lsr0zRN0xxQm+ydNRjHwnbpxZjQNKPt9Lb/z95Zg3EsLHVUslmQVk2mPRqyd9ZgHAt7+9u+21FJ39LJT7jsnTUYx8KyZ0yt+clPl1b2ziqMY2H7uy7z+uTnz5/Hv8gY9s4ajGNhqcr0bfj58+emaY6OjjpfZIdjHHtnDcaxsOkr03fV5rUsKkMn41jYqO9zXzjevMLSWvRmZXZg76zBOBaWPWNSGUYyjoUFr/5++fJl+3jnzcOf97J31mAcC9tHZTo3dCzDJuNY2P4qs71V3zOu/v6CjGNhkcqMuTA8vOH4TeydNRjHwib7o8fOw5bxm+zM3lmDcSxs+r+WnKQd49k7azCOhR3QnWJ2Y++swTgWpjIcBONYWIXKmGpMc+9KpHz4ygAHTmWALJUBslQGyFIZIEtlgC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MkCWygBZKgNkqQyQpTJAlsoAWSoDZKkMkKUyQJbKAFkqA2SpDJClMkCWygBZKgNkqQyQpTJAlsoAWSoDZKkMkKUyQJbKAFkqA2SpDJClMkCWygBZKgNkqQyQpTJAlsoAWSoDZKkMkKUyQJbKAFkqA2SpDJClMkCWygBZKgNkqQyQpTJAytevX1cqA4S8JmalMkDCOjErlQEmt5mYlcoA09pMjOsywMS2E7NSGWAqnYlZqQyQ9ktUxmQyzTsNf0k/fGWAA6cyQJbKAFkqA2SpDJClMkCWygBZKgNktStzeXl5cnJyvBcnJyeXl5ezfGxgb36ozG9nZxcXFzc3Ny97cXNzc3Fx8dvZ2VwfHtiDHyqzWCxub2+Xy+V/92K5XN7e3i4Wi7k+PLAHP1Tm+Pj45eVlP4l59fLycnx8PNeHB/agXZnn5+f/9GiaZj2zaXjlYc/PzyoDtXVU5t89mqZpzbTm+9YfoDJQXkdl/tWjaZr1zKbNFYZtv6bKQHntyiyXy9+3bPdic9H2+uMtl0uVgdo6KnPXo2ma9cymgTVb89tUBsrrqMw/ezRN07doeLWBDVUGymtX5unp6R89Xo9c1jObNtdZ/9v3zKanpyeVgdo6KvN9y7omrSe312wtHV7n+/fvKgPltSvz+Pj49x5N02zOrNPz5voDHh8fVQZq66jMtx5N02zOrB8OrDy8zrdv31QGymtX5uHh4W89mqbZnFk/3F5tc1HrYcvDw4PKQG0dlflrl9dYvM6sH6611hnYvEVloLx2Ze7v7/+yR/f39yoDtbXv/HB1dXV3d/fnvbi7u7u6unLnB6jth8qcnZ2dn59fX1/f78X19fX5+fmZu1hBae07cp6eni4Wi/3ckXOxWJyens7ysYG9cXdxIEtlgCyVAbJUBshSGSBLZYCs/wHol9fjS2vkYAAAAABJRU5ErkJggg==" alt="" />
打印结果:
<tr><th><label for="id_subject">主题:</label></th><td><input id="id_subject" maxlength="10" name="subject" type="text" /></td></tr>
<tr><th><label for="id_email">Email:</label></th><td><input id="id_email" name="email" type="email" /></td></tr>
<tr><th><label for="id_message">信息:</label></th><td><textarea cols="40" id="id_message" name="message" rows="10">
</textarea></td></tr>
False
2、页面中自定义显示方式(详细测试)
1)contact_author.html
<html>
<style type="text/css">
{# <ul class="errorlist">。。。</ul> #}
{# ul标签下的class="errorlist"的属性进行渲染 #}{# 标签下的属性 #}
ul.errorlist {
margin: 0;
padding: 0;
}
{# <ul class="errorlist"><li>单词个数低于4个!</li></ul> #}
{# errorlist class下的 li标签内的元素进行渲染 #}{# 属性下一级的标签 #}
.errorlist li {
background-color: red;
color: white;
display: block;
font-size: 10px;
margin: 0 0 3px;
padding: 4px 5px;
}
.field{
background-color: gray;
}
</style>
<head>
<title>Contact us</title>
</head>
<body>
{% if form.errors %}
<p style="color: red;">
Please correct the error{{ form.errors|pluralize }} below.
</p>
{% endif %} <form action="" method="post">
<div class="field">
{# 自动生成的默认错误信息显示 #}
{# 会被翻译成:<ul class="errorlist"><li>这个字段是必填项。</li></ul> #}
{{ form.subject.errors }}
<label for="id_subject">页面自定义的主题:</label>
{{ form.subject }}
{# 自定义的错误信息显示 #}
{% if form.subject.errors%}
<label for="id_self_def_error_info" style="color: red;">
*自定义错误信息:主题不能为空
</label>
{% endif %} </div>
<div class="field">
{{ form.email.errors }}
<label for="id_email">页面中自定义的email:</label>
{{ form.email }}
</div>
<div class="field">
{{ form.message.errors }}
<label for="id_message">页面中自定义的信息:</label>
{{ form.message }}
</div>
<input type="submit" value="提交">
</form>
</body>
</html>
2)测试
a)首次访问
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdwAAAESCAIAAADYI/NmAAAdQElEQVR4nO3d228cV+HA8fmfeKF5AalNhChqC4hERE2ApHIrREn6K1EpPNQSpZfwkFuTUnqjqeCBNEI/msYuSG2jxvau7fwSJ7ZTEoGqeu8zO5ddJ0BSdn8Pcz1z27Pry1lvvh82zuzMmTMz2/brYWM7WsvT9j62W+1Wu932lr0N7Va43Aqeh6varWCfYEwwQTh5uCk6ub8p2BodF0wSbhXPIxjjnkO7vdr2CXu0V/M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mpJHdNXeXMQZWDTJIvcHZk75eRKyfV9hUzrdWObc7bylyx5GvLr+0KUgc2RWuTucEY5X+oh+rpzjJ2JzC7515i1VfJTyFpiui4hjiLKgFprinLszrFnlJPt61mowTInv76vqMWut+cRB4iy5KeWnEtYY6bPnH2fBw8eah/5/5FKfUefTKdSO7LGO9P8MesbZZm91iXKMlvzVyZPY42lBjA8ZL+jr2enhiTKsbtdyVrltzK6sq+b3OSaAaLccytRBkZJ5nf0pQzt8w1fmVhIRlly8ljgZHbMOcnkppynWvZbHz3PKmvyfl9MACMg5afE5Y3u80+xenZEJjQ50ex3qth4yaNLzixznv2+gADuNfyQewAYImGUAQDKEWUAGCJEGQCGSHqUT5w48cwzzxzcFM8888yJEyc2+bIBYDilRPnlw4ePHTtWq9W+3BS1Wu3YsWMvHz68+RcPAMMmJcqHDh1qNBp37txpbYo7d+40Go1Dhw5t/sUDwLBJifLBgwe//PLLzSmy68svvzx48ODmXzwADJv0KN+9e9fJoGlasBCVPzjf3bt3iTIAdHOibGfQNC22EFvOGp+DKAOAKzPKVgZN04KFqOiAfMk5iTIAuNKjfOfOnWZCMq/RTcnx8u7cuUOUAaCbE2Ujg6ZpwUJUzsjYchJRBgBXZpT1DJqmZW3KH5azI1EGAFd6lG/fvn0zg3tfHCxERccEH7PWRN2+fZsoA0A3J8o3EoL4xlYmR8a25o+5ceMGUQYAV3qUb9269VkGTdOiC0Gpe47PcevWLaIMAN2cKC9n0DQtuhA8zRmcP2Z5eZkoA4ArPcqrq6uLGTRNiy4ET5PDoptiT2NWV1eJMgB0c6J8NY3bVncheBqIjcnZPYYoA4ArPcrtdnthE7XbbaIMAN2sH935xRdfGIZxeVMYhvHFF1/wozsBoJsa5cOHDx85cqRUKrU3RalUOnLkyGF+yD0AZP11UC+99NKhQ4c256+DOnTo0EsvvbTJlw0Aw4m/OBUAhghRBoAhQpQBYIj8P/SArTjfKQpXAAAAAElFTkSuQmCC" alt="" />
打印结果:
<tr><th><label for="id_subject">主题:</label></th><td><input id="id_subject" maxlength="10" name="subject" type="text" /></td></tr>
<tr><th><label for="id_email">Email:</label></th><td><input id="id_email" name="email" type="email" /></td></tr>
<tr><th><label for="id_message">信息:</label></th><td><textarea cols="40" id="id_message" name="message" rows="10">
</textarea></td></tr>
False
b)输入正确格式并提交
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdwAAADyCAIAAABoEONQAAAOoUlEQVR4nO3du47bWJrAcT5Qv8PMW/RM5qhjJwWnlRjlcQeG4cjoqCMHjUl6HqLCwS62G4vezDBgw+vFXnwJyga8gav0UbwcHur2UdLvB2Ggog7JQ3X5Lw6rSmq+ArAYTfYEAAiiDLAgogywIANRvgQgiSgDLIgon4hf/v4Pt9O4ZX8rkUyUT8Qvf//H9hezSCfKLCXKTdPsaXD9+P6wjVc8PFE+DaLMcJSbOrebmGN4EvOjtk2X66dRv5fJkf3nof75qSHKp0GUqTpT3qaAOxm8QfQ7m52Mcv3CzVTObWOifBpEmeko7+80tqatczdYs8rg9gcnUCj+rFeI8qZqDm2SKJ8GUaYU5fporm1x6//L38/ZZlsbXLFmYXN3eaF+GpOTHAxx/bM6SZRPgygzEeXhdUa6Vn/auMH2N7C0KPefjcFSb0aUT4MoUxvlyXyUQ7N9lDeI/uCmKqNcuWLlo+W1Bl8DxqYxRpRPgyiTHOVZhR3c3axhle0uH8vc+RSOcS9Rvr6KfVxd73EheyDK7CXK/byWV6lcPndMf2Rhj4PTvhx/XRkp7cAWCtNuilGe5S7K11erbF5fNc33L17vaSF7IcoczeWLmjmMmazeYCs798t7rJzP/qPcdn01ENB9LGRnRJljunzR2XLNKuU5jz066yWk5tHLVnk7E95JkS/bUX794vvYyV1A97GQPRBlqqLcCcdklMfSM7bKBstnVWwyfIeM8thaW3b5NsqvX3wf0bw7q93HQvZDlJn3F301XRsMTWKUa9ZKiXJ/lf406g/zNsqdy7/fArqPheyHKDP7L/omu7anKNecrddsamzjgyf4NbOtf3RWZOeOv7t8ERcavn9x/eL7bzXdx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iaAYAAADoONAMAACALgLNAAAA6CLqmjl//vzPfvaz13rCz372s/Pnz/d42QAAAHqDimZ+8+abb7/99vr6+hc9YX19/e233/7Nm2/2fvEAAAC6jYpmTp8+vbm5ee/evUZPuHfv3ubm5unTp3u/eAAAAN1GRTOvvfbaF1980RvHMHzxxRevvfZa7xcPAACg26hr5v79+3UNHA4HfyFGv7E+9+/fh2YAAMCWaGqmpoHD4ZBdyK612usAzQAAgF3R1ExVA4fDwV+IETfQR5kTmgEAALuirpl79+5tKVAKQ1ylbE/OvXv3oBkAALAlmpopa+BwOPgLMTotZddKoBkAALArmpopaeBwOLSq9JvpdIRmAADArqhrZmdnJ68Bc3bhL8SI2/BftUrE7OzsQDMAAGBLNDWTU8DrRFaobCmr1W+Ty+WgGQAAsCvqmtne3l7QwOFwiC949xi212F7exuaAQAAW6KpmbQGDodDfMHf1Gms3yadTkMzAABgV9Q102q1aA0cDof4gr+pbCaukt2U0Wq1oBkAALAlmppJqsHYgrngb/LI2uh0lwHNAACAXVHXTLPZTPSQZrMJzQAAgC1R/0UAt2/fLpfL8z2hXC7fvn0bvwgAAABsiYpm3nzzzbNnzxaLxWZPKBaLZ8+efRO/1gwAAOyI+i9pfuONN06fPt2bX9J8+vTpN954o8fLBgAA0BvUNQMAAAB0BGgGAABAF4FmAAAAdBFoBgAAQBeBZgAAAHSR/w/cZLgRFmFTnQAAAABJRU5ErkJggg==" alt="" />
打印结果: 最终页面显示时,form类中定义的label文字,被自定义的内容替换
<tr><th><label for="id_subject">主题:</label></th><td><ul class="errorlist"><li>这个字段是必填项。</li></ul><input id="id_subject" maxlength="10" name="subject" type="text" /></td></tr>
<tr><th><label for="id_email">Email:</label></th><td><input id="id_email" name="email" type="email" value="aaa@sina.com" /></td></tr>
<tr><th><label for="id_message">信息:</label></th><td><ul class="errorlist"><li>单词个数低于4个!</li></ul><textarea cols="40" id="id_message" name="message" rows="10">
s</textarea></td></tr>
数据不符合要求
<ul class="errorlist"><li>这个字段是必填项。</li></ul> <ul class="errorlist"><li>单词个数低于4个!</li></ul>
ps: 如果email格式不正确,页面会直接弹出提示,而不会提交到后台
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYkAAABzCAIAAADiwWkhAAAPmklEQVR4nO2dyW8b1x3Hx0BTy9ZCSzV6zKnopTkWLVAUSJr4P+jBCXoRemrRHpq0TdK6QeVFkW058hI73mLHSqzYpWEhtYJsatSmSKp6EW1rQVSRskVZlERSJEUOPeSQQ00PjCSK8+bNb4akSM58P5gD+eb3tvH7ffyG4iKoqqqqageoQ65dH1BB/XPt+kC1l1ItIuSvTnX6FoQKBdPjtWGWK24+cJM9gJuYrLtJoPFNNTOwOzaf26XoiT4Mei+GkdrrQL8+FOAmewA3MdHdN5UigrIEW3BfUbOGbqIXWoM4NsvATfYAbmLCdlPlNjUUxZhtkFKF2T5zABzxmRIlvynK1AyBm+wB3MSk2E10d2xopeT7IG1WW2uNWZFSKKzec9GHYThIpo/oV9UQuMkewE1MGG5ix+mkN30TYaF9C9Sam7RXgyksa8BN9gBuYsJzk2EW8fOtdDdZcB+zKaKbiBWJZ/m1mCrUG4YecJM9gJuYVMFNpkTD7M5UGFFh/LmYHQ9njnATKAJuYlI2N2ktw69CLDcbo43k9KgnR70p6BlH2wJn2Hw3mQJusgdwE5OavqejjEEPw+RnKqPoMb9H4njgJsAHbmJS6/d0RS1TqvDHrHfWlEkpZzsKBFQ04LKIqQNusgtwExNdNxXlj6Gb9DJQr4qFclPJbJj/m+kmvVol6glusgdwExPj94VT0puZb1V0E6VWVdykraIdBn2acJM9gJuYkN4XbpjeFXITZe9GaUqvceZ2jzJa+llTrjEbDzfZA7iJCft94Yw4ky8ecdohBhf5jlKRk9jaU5ynwkYnUmaqHU/hA+L4zQI32QO4iUnx9xDwQmn7Ef5ZjjvoLTOrU6rQXVCKMkqvTgRusgdwE5Nqfn8TKBG4yR7ATUzgpjoGbrIHcBMTuKmOgZvsAdzEBG6qY65dH8Bhj6PaS6kWgZsAALUI3AQ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g8y2bjZwRg+IQAAAABJRU5ErkJggg==" alt="" />
参考:http://djangobook.py3k.cn/2.0/chapter07/
django表单的更多相关文章
- python 全栈开发,Day111(客户管理之 编辑权限(二),Django表单集合Formset,ORM之limit_choices_to,构造家族结构)
昨日内容回顾 1. 权限系统的流程? 2. 权限的表有几个? 3. 技术点 中间件 session orm - 去重 - 去空 inclusion_tag filter 有序字典 settings配置 ...
- python3之Django表单(一)
1.HTML中的表单 在HTML种,表单是在<form>...</form>种的元素,它允许用户输入文本,选择选项,操作对象等,然后发送这些数据到服务器 表单元素允许用户在表单 ...
- django表单的api
django表单的api,参考文档:https://yiyibooks.cn/xx/Django_1.11.6/ref/forms/api.html 绑定与未绑定形式: Form要么是绑定的,要么是未 ...
- Django表单API详解
声明:以下的Form.表单等术语都指的的广义的Django表单. Form要么是绑定了数据的,要么是未绑定数据的. 如果是绑定的,那么它能够验证数据,并渲染表单及其数据,然后生成HTML表单.如果未绑 ...
- 9:django 表单
django自带表单系统,这个表单系统不仅可以定义属性名,还可以自己定义验证,更有自己自带的错误提示系统 这节我们仅仅粗略的来看一下django表单系统的入门运用(具体的实在太多东西,主要是我觉得有很 ...
- django 表单系统 之 forms.Form
继承forms.Form实现django表单系统 参考: https://www.cnblogs.com/zongfa/p/7709639.html https://www.cnblogs.com/c ...
- 关于创建Django表单Forms继承BaseForm的问题
在创建Django表单时,因为需要验证用户输入的验证码是否正确,因此需要在session里提取当前验证码的值和POST提交过来的值进行比对,如图: form.py from django import ...
- Django 表单处理流程
Django 的表单处理:视图获取请求,执行所需的任何操作,包括从模型中读取数据,然后生成并返回HTML页面(从模板中),我们传递一个包含要显示的数据的上下文.使事情变得更复杂的是,服务器还需要能够处 ...
- 第四章:Django表单 - 2:Django表单API详解
声明:以下的Form.表单等术语都指的的广义的Django表单. Form要么是绑定了数据的,要么是未绑定数据的. 如果是绑定的,那么它能够验证数据,并渲染表单及其数据,然后生成HTML表单.如果未绑 ...
- 第四章:Django表单 - 1:使用表单
假设你想从表单接收用户名数据,一般情况下,你需要在HTML中手动编写一个如下的表单元素: <form action="/your-name/" method="po ...
随机推荐
- 《zw版·Halcon-delphi系列原创教程》 Halcon分类函数015,vector矢量
<zw版·Halcon-delphi系列原创教程> Halcon分类函数015,vector矢量 为方便阅读,在不影响说明的前提下,笔者对函数进行了简化: :: 用符号“**”,替换:“p ...
- 学习笔记:MySQL字符串类型
字符串类型 a) char和varchar 1.都需要指定字符的长度,char中的长度是字符的长度,而varchar的长度是字节的长度 2. char中指定的长度就是实际占用的长度,而 ...
- Oracle新表使用序列(sequence)作为插入值,初始值不是第一个,oraclesequence
Oracle新表使用序列(sequence)作为插入值,初始值不是第一个,oraclesequence 使用oracle11g插入数据时遇到这样一个问题: 1 --创建测试表-- 2 CREATE T ...
- 161223、mysql锁的两个例子
版本:mysql5.5.52 存储引擎:InnoDB 隔离级别:READ-COMMITTED 示例一: 事务1:左图 事务2:右图 1. 事务2中属于快照读,基于多版本的并发控制协议--MV ...
- java 创建string对象机制 字符串缓冲池 字符串拼接机制
对于创建String对象的机制,在这一过程中涉及的东西还是值得探究一番的. 首先看通过new String对象和直接赋值的方式有什么区别,看如下代码: public static void main( ...
- kafka常用命令
以下是kafka常用命令行总结: 0.查看有哪些主题: ./kafka-topics.sh --list --zookeeper 192.168.0.201:12181 1.查看topic的详细信息 ...
- MVC 缓存
MVC 缓存 http://blog.zhaojie.me/2009/09/aspnet-mvc-fragment-cache-1.html redis http://www.cnblogs.com ...
- Quick-lua3.3之listview
前言 listview列表,在游戏中非常常见,比如道具列表,玩家列表,排行榜等等.每个版本可能使用方法可能有些差别,但是大同小异,原理和用途都是那几种,设置方向,间隔等. 这里是quick-lua3. ...
- JavaScript---function、this关键字相关习题
1. 请看下列代码: function F( ){ function C( ){ return this; } return C(); } var o=new F( ); 请问上面的this值指向的是 ...
- Android的学习第六章(布局一TableLayout)
今天我们来简单的说一下Android不居中的TableLayout布局(表格布局) 表格布局的意思就是将我们的布局看做为一个表格,主要用于对控件进行整齐排列 我们看一个简单的案例 <TableL ...