検索

phrase: max: clip:
target: order:
Results of 41 - 50 of about 187 for Field (0.074 sec.)
Django 1.7.2 release notes — Django 4.0.6 ドキュメント 5988
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Fixed a migration crash when adding an explicit id field to a model on SQLite ( #23702 ). Added a warning f ... tabase driver. Fixed MySQL 5.6+ crash with GeometryField s in migrations ( #23719 ). Fixed a migration cras ... h when removing a field that is referenced in AlterIndexTogether or AlterU ... migration crash that prevented changing a nullable field with a default to non-nullable with the same defau ...
https://man.plustar.jp/django/releases/1.7.2.html - [similar]
モデルからフォームを作成する — Django 4.0.6 ドキュメント 5988
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... elForm ): ... class Meta : ... model = Article ... fields = [ 'pub_date' , 'headline' , 'content' , 'report ... クラスは、指定された全てのモデルフィールドに対して、 fields 属性で指定された順番でフォームフィールドを有します ... フォームフィールドを持ちます。例えば、モデル上の CharField はフォーム上で CharField として表現されます。モデル ... ManyToManyField は MultipleChoiceField として表現されます。 以下は ...
https://man.plustar.jp/django/topics/forms/modelforms.html - [similar]
Django 3.0 リリースノート — Django 4.0.6 ドキュメント 5933
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ilter expressions ¶ Expressions that output BooleanField may now be used directly in QuerySet filters, with ... ter against the annotation. Enumerations for model field choices ¶ Custom enumeration types TextChoices , I ... , and Choices are now available as a way to define Field.choices . TextChoices and IntegerChoices types are ... provided for text and integer fields. The Choices class allows defining a compatible e ...
https://man.plustar.jp/django/releases/3.0.html - [similar]
Model Meta options — Django 4.0.6 ドキュメント 5911
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ets related_query_name . As the reverse name for a field should be unique, be careful if you intend to subc ... latest_by ¶ Options. get_latest_by ¶ The name of a field or a list of field names in the model, typically D ... ateField , DateTimeField , or IntegerField . This specifies ... the default field(s) to use in your model Manager 's latest() and ea ...
https://man.plustar.jp/django/ref/models/options.html - [similar]
How to create database migrations — Django 4.0.6 ドキュメント 5856
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... e and third-party apps. Migrations that add unique fields ¶ Applying a "plain" migration that adds a unique ... non-nullable field to a table with existing rows will raise an error ... ken. In this example, we'll add a non-nullable UUIDField with a default value. Modify the respective field ... according to your needs. Add the field on your model with default=uuid.uuid4 and unique=T ...
https://man.plustar.jp/django/howto/writing-migrations.html - [similar]
Date-based mixins — Django 4.0.6 ドキュメント 5856
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... の動作を提供する mixin クラス。 メソッドと属性 date_field ¶ The name of the DateField or DateTimeField in th ... e page. When time zone support is enabled and date_field is a DateTimeField , dates are assumed to be in th ... r's time zone. To avoid this, you should use a DateField as the date_field attribute. allow_future ¶ A bool ... is page, where "future" means objects in which the field specified in date_field is greater than the curren ...
https://man.plustar.jp/django/ref/class-based-views/mixins-date-based.html - [similar]
Single object mixins — Django 4.0.6 ドキュメント 5856
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... eryset() でこれを取得するようにしてください。 slug_field ¶ スラグを含むモデル上のフィールドの名前です。デフ ... ォルトでは、 slug_field は 'slug' です。 slug_url_kwarg ¶ スラグを含む URL ... らなかった場合は、 slug_url_kwarg 引数を探し、 slug_field を使用してスラグのルックアップを実行します。 query ... _context_object_name() を使ってください。 get_slug_field () ¶ Returns the name of a slug field to be used t ...
https://man.plustar.jp/django/ref/class-based-views/mixins-single-object.html - [similar]
GeoDjango Tutorial — Django 4.0.6 ドキュメント 5856
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... based services. Its features include: Django model fields for OGC geometries and raster data. Extensions to ... anipulation in different formats. Editing geometry fields from the admin. This tutorial assumes familiarity ... metric attribute data (e.g., integer and character fields). .prj : Contains the spatial reference informati ... "), as well as type information for each attribute field. For example, FIPS: String (2.0) indicates that th ...
https://man.plustar.jp/django/ref/contrib/gis/tutorial.html - [similar]
Tablespaces — Django 4.0.6 ドキュメント 5824
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... affects tables automatically created for ManyToManyField s in the model. You can use the DEFAULT_TABLESPACE ... e of a tablespace to use for the index. For single field indexes, you can pass the db_tablespace option to ... a Field constructor to specify an alternate tablespace for ... the field's column index. If the column doesn't have an inde ...
https://man.plustar.jp/django/topics/db/tablespaces.html - [similar]
Full text search — Django 4.0.6 ドキュメント 5769
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s a to_tsvector in the database from the body_text field and a plainto_tsquery from the search term 'Cheese ... one , weight = None ) ¶ Searching against a single field is great but rather limiting. The Entry instances ... e searching belong to a Blog , which has a tagline field. To query against both fields, use a SearchVector ... earchVector can be any Expression or the name of a field. Multiple arguments will be concatenated together ...
https://man.plustar.jp/django/ref/contrib/postgres/search.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 NEXT