検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 188 for fields (0.012 sec.)
システムチェックフレームワーク — Django 4.0.6 ドキュメント 10468
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... sql.E001 : MySQL/MariaDB does not allow unique CharField s to have a max_length > 255. This check was change ... ysql.W003 : MySQL/MariaDB may not allow unique CharField s to have a max_length > 255. ファイルの管理 ¶ New ... nonexistent directory <path> . モデルフィールド ¶ fields.E001 : Field names must not end with an underscore ... . fields.E002 : Field names must not contain "__" . fields. ...
https://man.plustar.jp/django/ref/checks.html - [similar]
Model _meta API — Django 4.0.6 ドキュメント 10370
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... the name automatically generated by Django. Hidden fields cannot be retrieved by name. If a field with the g ... _meta . get_field ( 'username' ) <django.db.models.fields.CharField: username> # A field from another model ... ving all field instances of a model ¶ Options. get_fields ( include_parents = True , include_hidden = False ... ) ¶ Returns a tuple of fields associated with a model. get_fields() accepts two ...
https://man.plustar.jp/django/ref/models/meta.html - [similar]
QuerySet API リファレンス — Django 4.0.6 ドキュメント 9308
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... () for the final result. order_by() ¶ order_by ( * fields ) ¶ デフォルトでは、 QuerySet の返り値はモデルの M ... ering is guaranteed only when ordering by a set of fields that uniquely identify each object in the results. ... in undefined afterward). distinct() ¶ distinct ( * fields ) ¶ Returns a new QuerySet that uses SELECT DISTIN ... uated. That's when you'd use distinct() . 注釈 Any fields used in an order_by() call are included in the SQL ...
https://man.plustar.jp/django/ref/models/querysets.html - [similar]
Django の admin サイト — Django 4.0.6 ドキュメント 9132
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... のフィールドのみを含むようにしたい場合、以下のように fields か exclude を指定することになります: from django.c ... rt admin class AuthorAdmin ( admin . ModelAdmin ): fields = ( 'name' , 'title' ) class AuthorAdmin ( admin . ... たく同じフィールドを持つことになります。 ModelAdmin. fields ¶ "add" と "change" 上のフォームでシンプルなレイア ... 順序を変える、行にグルーピングする、等) を行うには、 fields オプションを使用してください。たとえば、 django.co ...
https://man.plustar.jp/django/ref/contrib/admin/index.html - [similar]
Django 1.6 release notes — Django 4.0.6 ドキュメント 9132
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... oDjango form widgets ¶ GeoDjango now provides form fields and widgets for its geo-specialized fields. They a ... current browsers, Django only uses it when numeric fields are not localized. The number argument for lazy pl ... ttings command gained a --all option. django.forms.fields.Field.__init__ now calls super() , allowing field ... illow. ModelForm accepts several new Meta options. Fields included in the localized_fields list will be loca ...
https://man.plustar.jp/django/releases/1.6.html - [similar]
Django オブジェクトのシリアル化 — Django 4.0.6 ドキュメント 8968
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ィールドのサブセット ¶ If you only want a subset of fields to be serialized, you can specify a fields argumen ... serialize ( 'xml' , SomeModel . objects . all (), fields = ( 'name' , 'size' )) In this example, only the n ... t in the resulting output; it never appears in the fields part. 注釈 Depending on your model, you may find t ... alize a model that only serializes a subset of its fields. If a serialized object doesn't specify all the fi ...
https://man.plustar.jp/django/topics/serialization.html - [similar]
PostgreSQL specific model fields — Django 4.0.6 ドキュメント 8793
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... « previous | up | next » PostgreSQL specific model fields ¶ All of these fields are available from the djang ... o.contrib.postgres.fields module. Indexing these fields ¶ Index and Field.db ... Generally, GiST may be a good choice for the range fields and HStoreField , and GIN may be helpful for Array ... nd ManyToManyField ). It is possible to nest array fields - you can specify an instance of ArrayField as the ...
https://man.plustar.jp/django/ref/contrib/postgres/fields.html - [similar]
モデルからフォームを作成する — Django 4.0.6 ドキュメント 8344
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... elForm ): ... class Meta : ... model = Article ... fields = [ 'pub_date' , 'headline' , 'content' , 'reporte ... クラスは、指定された全てのモデルフィールドに対して、 fields 属性で指定された順番でフォームフィールドを有します ... ield IntegerField PositiveSmallIntegerField IntegerField SlugField SlugField SmallAutoField フォーム上では表 ... ドすることもできます。後述の Overriding the default fields を参照してください。 完全な具体例 ¶ 以下のような一 ...
https://man.plustar.jp/django/topics/forms/modelforms.html - [similar]
モデルインスタンスリファレンス — Django 4.0.6 ドキュメント 8070
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... rgs ) ¶ The keyword arguments are the names of the fields you've defined on your model. Note that instantiat ... if len ( values ) != len ( cls . _meta . concrete_fields ): values = list ( values ) values . reverse () va ... ames else DEFERRED for f in cls . _meta . concrete_fields ] instance = cls ( * values ) instance . _state . ... e database Model. refresh_from_db ( using = None , fields = None ) ¶ データベースからモデルの値を再読み込みす ...
https://man.plustar.jp/django/ref/models/instances.html - [similar]
Model index reference — Django 4.0.6 ドキュメント 7939
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s> . Index options ¶ class Index ( * expressions , fields = () , name = None , db_tablespace = None , opclas ... x' ) creates an index on the result of multiplying fields height and weight and the weight rounded to the ne ... SQL < 8.0.13 and MariaDB as neither supports them. fields ¶ Index. fields ¶ A list or tuple of the name of t ... he fields on which the index is desired. By default, indexes ...
https://man.plustar.jp/django/ref/models/indexes.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT