検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 102 for forms (0.031 sec.)
フォームセット (Formset) — Django 4.0.6 ドキュメント 11776
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... | Modules « previous | up | next » フォームセット (Formset) ¶ class BaseFormSet ¶ フォームセットとは、同じペ ... うなフォームを考えましょう。 >>> from django import forms >>> class ArticleForm ( forms . Form ): ... title ... = forms . CharField () ... pub_date = forms . DateField () ... トを生成するには、次のようにします。 >>> from django.forms import formset_factory >>> ArticleFormSet = formse ...
https://man.plustar.jp/django/topics/forms/formsets.html - [similar]
ウィジェット — Django 4.0.6 ドキュメント 11116
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... field definition. For example: from django import forms class CommentForm ( forms . Form ): name = forms . ... CharField () url = forms . URLField () comment = forms . CharField ( widget ... = forms . Textarea ) これは、comment のフォームに対して、デ ... して years 属性がセットされます: from django import forms BIRTH_YEAR_CHOICES = [ '1980' , '1981' , '1982' ] ...
https://man.plustar.jp/django/ref/forms/widgets.html - [similar]
Form fields — Django 4.0.6 ドキュメント 10637
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... or returns the clean value: >>> from django import forms >>> f = forms . EmailField () >>> f . clean ( 'foo ... ValidationError exception: >>> from django import forms >>> f = forms . CharField () >>> f . clean ( 'foo' ... s required=False to the Field constructor: >>> f = forms . CharField ( required = False ) >>> f . clean ( ' ... sable it. The required attribute isn't included on forms of formsets because the browser validation may not ...
https://man.plustar.jp/django/ref/forms/fields.html - [similar]
索引 — Django 4.0.6 ドキュメント 10520
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... クラス) AdminPasswordChangeForm (django.contrib.auth.forms のクラス) ADMINS setting AdminSite (django.contrib ... o.db.models.query.QuerySet モジュール) as_p() (BaseFormSet のメソッド) (Form のメソッド) as_sql() (django.d ... ッド) as_string() (Field のメソッド) as_table() (BaseFormSet のメソッド) (Form のメソッド) as_text() (ErrorLi ... st のメソッド) as_ul() (BaseFormSet のメソッド) (ErrorList のメソッド) (Form のメソッ ...
https://man.plustar.jp/django/genindex.html - [similar]
モデルからフォームを作成する — Django 4.0.6 ドキュメント 10520
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ルパークラスを用意してあります。 例: >>> from django.forms import ModelForm >>> from myapp.models import Arti ... erField IntegerField TextField CharField で widget=forms.Textarea です。 TimeField TimeField URLField URLFi ... ールドは特殊なケースとなります: ForeignKey は django.forms.ModelChoiceField によって表現され、モデルの QueryS ... て持つ ChoiceField です。 ManyToManyField は django.forms.ModelMultipleChoiceField によって表現され、モデルの ...
https://man.plustar.jp/django/topics/forms/modelforms.html - [similar]
フォーム API — Django 4.0.6 ドキュメント 10132
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ドキュメントを読む前に introduction to working with forms 1 を読むことをおすすめします。 Bound and unbound f ... いますが、後者が優先されます: >>> from django import forms >>> class CommentForm ( forms . Form ): ... name = ... forms . CharField ( initial = 'class' ) ... url = forms ... . URLField () ... comment = forms . CharField () >>> f = CommentForm ( initial = { ' ...
https://man.plustar.jp/django/ref/forms/api.html - [similar]
The form rendering API — Django 4.0.6 ドキュメント 8709
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... levels: Widgets can specify custom template names. Forms and widgets can specify custom renderer classes. A ... the FORM_RENDERER setting. It defaults to ' django.forms.renderers.DjangoTemplates ' . You can also provide ... om the built-in form templates directory in django/forms/templates and then from the installed apps' templa ... tes for the built-in widgets are located in django/forms/jinja2 and installed apps can provide templates in ...
https://man.plustar.jp/django/ref/forms/renderers.html - [similar]
Pythonモジュール索引 — Django 4.0.6 ドキュメント 8320
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... uthentication backend classes. django.contrib.auth.forms django.contrib.auth.hashers django.contrib.auth.mi ... ib.contenttypes.fields django.contrib.contenttypes.forms django.contrib.flatpages A framework for managing ... k for generating spatial feeds. django.contrib.gis.forms GeoDjango forms API. django.contrib.gis.forms.widg ... ansaction django.dispatch Signal dispatch f django.forms django.forms.fields Django's built-in form fields. ...
https://man.plustar.jp/django/py-modindex.html - [similar]
フォームアセット (Media クラス) — Django 4.0.6 ドキュメント 8165
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... files -- like stylesheets and scripts -- with the forms and widgets that require those assets. For example ... required, and provide the list of file names in a form suitable for inclusion on your web page. アセットと ... 定義します。 以下に例を示します。 from django import forms class CalendarWidget ( forms . TextInput ): class ... a プロパティを直接定義することができます。これは、 forms.Media のインスタンスを返すウィジェットプロパティを ...
https://man.plustar.jp/django/topics/forms/media.html - [similar]
GeoDjango Forms API — Django 4.0.6 ドキュメント 7932
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Index | Modules « previous | up | next » GeoDjango Forms API ¶ GeoDjango provides some specialized form fie ... idget. For example: from django.contrib.gis import forms class MyGeoForm ( forms . Form ): point = forms . ... PointField ( widget = forms . OSMWidget ( attrs = { 'map_width' : 800 , 'map_h ... er about https access to map tiles. 目次 GeoDjango Forms API Field arguments srid geom_type Form field clas ...
https://man.plustar.jp/django/ref/contrib/gis/forms-api.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT