検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 38 for relation (0.043 sec.)
Signals — Django 4.0.6 ドキュメント 15456
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ny field. instance The instance whose many-to-many relation is updated. This can be an instance of the sender ... " Sent before one or more objects are added to the relation. "post_add" Sent after one or more objects are add ... ed to the relation. "pre_remove" Sent before one or more objects are ... removed from the relation. "post_remove" Sent after one or more objects are ...
https://man.plustar.jp/django/ref/signals.html - [similar]
モデルフィールドリファレンス — Django 4.0.6 ドキュメント 10770
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ey ( to , on_delete , ** options ) ¶ A many-to-one relationship. Requires two positional arguments: the class ... ed and the on_delete option. To create a recursive relationship -- an object that has a many-to-one relationsh ... n_delete=models.CASCADE) . If you need to create a relationship on a model that has not yet been defined, you ... class Manufacturer ( models . Model ): # ... pass Relationships defined this way on abstract models are resol ...
https://man.plustar.jp/django/ref/models/fields.html - [similar]
Related objects reference — Django 4.0.6 ドキュメント 10377
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ens in two cases: The "other side" of a ForeignKey relation. That is: from django.db import models class Blog ... r blog.entry_set . Both sides of a ManyToManyField relation: class Topping ( models . Model ): # ... pass clas ... In the example above, in the case of a ForeignKey relationship, QuerySet.update() is used to perform the upda ... calling e.save() . Using add() with a many-to-many relationship, however, will not call any save() methods (th ...
https://man.plustar.jp/django/ref/models/relations.html - [similar]
複数のデータベース — Django 4.0.6 ドキュメント 9434
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ow . Returns None if there is no suggestion. allow_relation ( obj1 , obj2 , ** hints ) ¶ Return True if a rela ... ween obj1 and obj2 should be allowed, False if the relation should be prevented, or None if the router has no ... key and many to many operations to determine if a relation should be allowed between two objects. If no route ... s an opinion (i.e. all routers return None ), only relations within the same database are allowed. allow_migra ...
https://man.plustar.jp/django/topics/db/multi-db.html - [similar]
contenttypes フレームワーク — Django 4.0.6 ドキュメント 9167
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... g instances of ContentType for a particular model. Relations between your models and ContentType can also be u ... sed to enable "generic" relationships between an instance of one of your models and ... get_for_model ( User ) <ContentType: user> Generic relations ¶ Adding a foreign key from one of your own model ... ble truly generic (sometimes called "polymorphic") relationships between models. For example, it could be used ...
https://man.plustar.jp/django/ref/contrib/contenttypes.html - [similar]
Django 1.8.1 リリースノート — Django 4.0.6 ドキュメント 8632
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... f admindocs when a model has a reverse foreign key relation ( #24624 ). Prevented arbitrary file inclusions in ... #24655 ). Fixed a migration crash when adding new relations to models ( #24573 ). Fixed a migration crash whe ... h when renaming the target model of a many-to-many relation ( #24725 ). Removed flushing of the test database ...
https://man.plustar.jp/django/releases/1.8.1.html - [similar]
Django 1.7 release notes — Django 4.0.6 ドキュメント 8506
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... () Using a custom manager when traversing reverse relations ¶ It is now possible to specify a custom manager ... when traversing a reverse relationship: class Blog ( models . Model ): pass class Ent ... can specify the QuerySet used to traverse a given relation or customize the storage location of prefetch resu ... lts. This enables things like filtering prefetched relations, calling select_related() from a prefetched relat ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
多対多 (many-to-many) 関係 — Django 4.0.6 ドキュメント 8506
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 対多 (many-to-many) 関係 ¶ To define a many-to-many relationship, use ManyToManyField . In this example, an Art ... ve a value for field "id" before this many-to-many relationship can be used. Save it! >>> a1 . save () Associa ... ing a second time is OK, it will not duplicate the relation: >>> a2 . publications . add ( p3 ) Adding an obje ... erySet [<Article: NASA uses Python>]> Many-to-many relationships can be queried using lookups across relations ...
https://man.plustar.jp/django/topics/db/examples/many_to_many.html - [similar]
GIS QuerySet API リファレンス — Django 4.0.6 ドキュメント 7972
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... e allows users to "fine tune" a specific geometric relationship consistent with the DE-9IM model. [1] Geometry ... ygon ( rast , 1 ), 'T*T***FF*' ) Oracle ¶ Here the relation pattern is comprised of at least one of the nine r ... operator OR, for example, 'inside+touch' . [2] The relation strings are case-insensitive. 実装例: Zipcode . ob ...
https://man.plustar.jp/django/ref/contrib/gis/geoquerysets.html - [similar]
Django 1.8 リリースノート — Django 4.0.6 ドキュメント 7972
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ta option to define a default related name for all relational fields of a model. Pickling models and querysets ... the whole operation. Assigning unsaved objects to relations raises an error ¶ 注釈 To more easily allow in-me ... similar check on assignment to reverse one-to-one relations was removed in Django 1.8.5. Assigning unsaved ob ... pecify db_column on its column(s) as needed. Query relation lookups now check object types ¶ Querying for mode ...
https://man.plustar.jp/django/releases/1.8.html - [similar]
PREV 1 2 3 4 NEXT