Results of 31 - 38 of about 38 for relation (0.014 sec.)
- Porting your apps from Django 0.96 to 1.0 — Django 4.0.6 ドキュメント 6902
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
onse.headers: . ジェネリックリレーション ¶ Generic relations have been moved out of core ¶ The generic relatio ...
n classes -- GenericForeignKey and GenericRelation -- have moved into the django.contrib.contenttypes ...
PResponse headers ジェネリックリレーション Generic relations have been moved out of core テスト django.test.Cl ...
-
https://man.plustar.jp/django/releases/1.0-porting-guide.html
- [similar]
- Django 1.3 release notes — Django 4.0.6 ドキュメント 6902
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
sociated with a view. Support for lookups spanning relations in admin's list_filter . Support for HttpOnly coo ...
interface allowed filtering on any model field or relation -- not just those specified in list_filter -- via ...
ookup arguments in the admin must be for fields or relations specified in list_filter or date_hierarchy . Dele ...
-
https://man.plustar.jp/django/releases/1.3.html
- [similar]
- Django 1.5 release notes — Django 4.0.6 ドキュメント 6902
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ching of related model instances ¶ When traversing relations, the ORM will avoid re-fetching objects that were ...
ll ; it was set by the second line. For one-to-one relationships, both sides can be cached. For many-to-one re ...
lationships, only the single side of the relationship can be cached. This is particularly helpful in ...
xpressions contained lookups spanning multi-valued relations, they didn't always reuse the same relations as o ...
-
https://man.plustar.jp/django/releases/1.5.html
- [similar]
- データベースアクセスの最適化 — Django 4.0.6 ドキュメント 6902
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
le, assuming a Group model that has a many-to-many relation to User , the following code is optimal: members = ...
d ) ...where Bands and Artists have a many-to-many relationship. When inserting different pairs of objects int ...
he number of SQL queries. For example: PizzaToppingRelationship = Pizza . toppings . through PizzaToppingRelat ...
ionship . objects . bulk_create ([ PizzaToppingRelationship ( pizza = my_pizza , topping = pepperoni ), Pi ...
-
https://man.plustar.jp/django/topics/db/optimization.html
- [similar]
- はじめての Django アプリ作成、その2 — Django 4.0.6 ドキュメント 6761
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
s # a set to hold the "other side" of a ForeignKey relation # (e.g. a question's choice) which can be accessed ...
e_set . count () 3 # The API automatically follows relationships as far as you need. # Use double underscores ...
to separate relationships. # This works as many levels deep as you want ...
-
https://man.plustar.jp/django/intro/tutorial02.html
- [similar]
- Form fields — Django 4.0.6 ドキュメント 6761
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ormats for TimeField are used. Fields which handle relationships ¶ Two fields are available for representing r ...
he queryset when generating choices. See Iterating relationship choices for details. ModelChoiceField ¶ class ...
objects, suitable for representing a many-to-many relation. As with ModelChoiceField , you can use label_from ...
or ¶ Same as ModelChoiceField.iterator . Iterating relationship choices ¶ By default, ModelChoiceField and Mod ...
-
https://man.plustar.jp/django/ref/forms/fields.html
- [similar]
- Django 2.0 リリースノート — Django 4.0.6 ドキュメント 6761
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
s to multiple aggregations over the same fields or relations. Added support for expressions in Meta.ordering . ...
fetching results as named tuples. The new FilteredRelation class allows adding an ON clause to querysets. ペー ...
検討してください。 django.db.models.fields.add_lazy_relation() が削除されました。 When time zone support is ena ...
-
https://man.plustar.jp/django/releases/2.0.html
- [similar]
- モデル — Django 4.0.6 ドキュメント 6635
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
r , on_delete = models . CASCADE ) # ... recursive relationships (自分自身に対する多対 1 の関係を持つオブジェク ...
ト) や relationships to models not yet defined を作成することもでき ...
参照してください。 サンプルのコードは、 Many-to-one relationship model example を参照してください。 多対多 (man ...
yField ( Topping ) ForeignKey と同様に、 recursive relationships (自分自身に対する多対 1 の関係を持つオブジェク ...
-
https://man.plustar.jp/django/topics/db/models.html
- [similar]