検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 49 for ManyToManyField (0.047 sec.)
SchemaEditor — Django 4.0.6 ドキュメント 8150
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s db_index=True or unique=True . If the field is a ManyToManyField without a value for through , instead of creating ... or indexes caused by that field. If the field is a ManyToManyField without a value for through , it will remove the t ... on transformation this cannot do is transforming a ManyToManyField into a normal Field or vice-versa; Django cannot d ...
https://man.plustar.jp/django/ref/schema-editor.html - [similar]
Django 1.11.5 リリースノート — Django 4.0.6 ドキュメント 8150
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... xed a regression in Django 1.10 where changes to a ManyToManyField weren't logged in the admin change history ( #2799 ... 8 ) and prevented ManyToManyField initial data in model forms from being affected by ...
https://man.plustar.jp/django/releases/1.11.5.html - [similar]
Tablespaces — Django 4.0.6 ドキュメント 8150
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... tion also affects tables automatically created for ManyToManyField s in the model. You can use the DEFAULT_TABLESPACE ... ls . CharField ( max_length = 7 ) edges = models . ManyToManyField ( to = "self" , db_tablespace = "indexes" ) class ...
https://man.plustar.jp/django/topics/db/tablespaces.html - [similar]
Model Meta options — Django 4.0.6 ドキュメント 7999
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... d models. If a model with managed=False contains a ManyToManyField that points to another unmanaged model, then the i ... cit model (with managed set as needed) and use the ManyToManyField.through attribute to make the relation use your cu ... s: unique_together = [ 'driver' , 'restaurant' ] A ManyToManyField cannot be included in unique_together. (It's not c ... !) If you need to validate uniqueness related to a ManyToManyField , try using a signal or an explicit through model. ...
https://man.plustar.jp/django/ref/models/options.html - [similar]
多対多 (many-to-many) 関係 — Django 4.0.6 ドキュメント 7863
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 関係 ¶ To define a many-to-many relationship, use ManyToManyField . In this example, an Article can be published in ... Field ( max_length = 100 ) publications = models . ManyToManyField ( Publication ) class Meta : ordering = [ 'headlin ... d (i.e., starting at the table that doesn't have a ManyToManyField ): >>> Publication . objects . filter ( id = 1 ) < ...
https://man.plustar.jp/django/topics/db/examples/many_to_many.html - [similar]
モデルからフォームを作成する — Django 4.0.6 ドキュメント 7863
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... はフォーム上で CharField として表現されます。モデル ManyToManyField は MultipleChoiceField として表現されます。 以下は ... essField GenericIPAddressField JSONField JSONField ManyToManyField ModelMultipleChoiceField (以下を参照) PositiveBigI ... UUIDField お気付きかもしれませんが、 ForeignKey と ManyToManyField の 2 つのモデルフィールドは特殊なケースとなります: ... ルの QuerySet を選択肢として持つ ChoiceField です。 ManyToManyField は django.forms.ModelMultipleChoiceField によって表 ...
https://man.plustar.jp/django/topics/forms/modelforms.html - [similar]
FAQ: 管理インタフェース — Django 4.0.6 ドキュメント 7727
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... を公開する方法 を参照してください。 “list_filter” に ManyToManyField を入れたのに、フィルタが表示されません。 ¶ Django ... won't bother displaying the filter for a ManyToManyField if there are no related objects. For example, if y ... を使った場合には表示されません。 “list_filter” に ManyToManyField を入れたのに、フィルタが表示されません。 管理サイト ...
https://man.plustar.jp/django/faq/admin.html - [similar]
The "sites" framework — Django 4.0.6 ドキュメント 7440
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Django model terminology, that's represented by a ManyToManyField in the Article model: from django.contrib.sites.mo ... rField ( max_length = 200 ) # ... sites = models . ManyToManyField ( Site ) This accomplishes several things quite ni ... r looks for a either a ForeignKey called site or a ManyToManyField called sites to filter on. If you use a field name ...
https://man.plustar.jp/django/ref/contrib/sites.html - [similar]
Django 2.1.8 リリースノート — Django 4.0.6 ドキュメント 7440
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... in 2.1.7. Bugfixes ¶ Prevented admin inlines for a ManyToManyField 's implicit through model from being editable if t ...
https://man.plustar.jp/django/releases/2.1.8.html - [similar]
QuerySet API リファレンス — Django 4.0.6 ドキュメント 7304
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... し、結果を並び替えることは許されています(たとえば、 ManyToManyField フィールド、もしくは ForeignKey フィールドの逆参照 ... e relations through OneToOneField , ForeignKey and ManyToManyField attributes: >>> Blog . objects . values ( 'name' , ... y__headline': 'Another entry'}, ...]> 警告 Because ManyToManyField attributes and reverse relations can have multiple ... xample, notice the behavior when querying across a ManyToManyField : >>> Author . objects . values_list ( 'name' , 'e ...
https://man.plustar.jp/django/ref/models/querysets.html - [similar]
PREV 1 2 3 4 5 NEXT