... であるものです。これは SQL 演算子 @> を使用します。たとえば、: >>> Post . objects . create ( name = "First post" , tags = [ "thoughts" , "django" ]) >>> Post . objects . create ( name = "Second post" , tags = [ "thoughts" ]) >>> Post . objects . create ( n ... ame = "Third post" , tags = [ "tutorial" , "django" ]) >>> Post . objects . filter ( tags__contains = [ "thoughts" ]) <QuerySet [<Post: First post>, <Post: Second post>]> >>> Post . objects . filter ( tags__contains = [ "django" ]) <Que ... rySet [<Post: First post>, <Post: Third post>]> >>> Post . objects . filter ( tags__contains = [ "django" , "thoughts" ]) <QuerySet [<Post: First post>]> contained_by ¶ これは contains ルックアップの逆です。返されるオブジェクトは、データが渡 ... ... であるものです。これは SQL 演算子 @> を使用します。たとえば、: >>> Post . objects . create ( name = "First post" , tags = [ "thoughts" , "django" ]) >>> Post . objects . create ( name = "Second post" , tags = [ "thoughts" ]) >>> Post . objects . create ( n ... ame = "Third post" , tags = [ "tutorial" , "django" ]) >>> Post . objects . filter ( tags__contains = [ "thoughts" ]) <QuerySet [<Post: First post>, <Post: Second post>]> >>> Post . objects . filter ( tags__contains = [ "django" ]) <Que ... rySet [<Post: First post>, <Post: Third post>]> >>> Post . objects . filter ( tags__contains = [ "django" , "thoughts" ]) <QuerySet [<Post: First post>]> contained_by ¶ これは contains ルックアップの逆です。返されるオブジェクトは、データが渡 ... ... f you're really not certain if a ticket is ready, don't mark it as such. Leave a comment instead, letting others know your thoughts. If you're mostly certain, but not completely certain, you might also try asking on the #contributing-getting-started chan ... ... f you're really not certain if a ticket is ready, don't mark it as such. Leave a comment instead, letting others know your thoughts. If you're mostly certain, but not completely certain, you might also try asking on the #contributing-getting-started chan ... ... 、自動インクリメントの値が計算され、オブジェクトの属性として保存されます: >>> b2 = Blog ( name = "Cheddar Talk" , tagline = "Thoughts on cheese." ) >>> b2 . id # Returns None, because b2 doesn't have an ID yet. >>> b2 . save () >>> b2 . id # Returns the ID ... 自動割り当てに頼るのではなく、保存前に明示的に定義してください: >>> b3 = Blog ( id = 3 , name = "Cheddar Talk" , tagline = "Thoughts on cheese." ) >>> b3 . id # Returns 3. >>> b3 . save () >>> b3 . id # Returns 3. 自動主キー値を手動で割り当てる場合は、既に ... ... 、自動インクリメントの値が計算され、オブジェクトの属性として保存されます: >>> b2 = Blog ( name = "Cheddar Talk" , tagline = "Thoughts on cheese." ) >>> b2 . id # Returns None, because b2 doesn't have an ID yet. >>> b2 . save () >>> b2 . id # Returns the ID ... 自動割り当てに頼るのではなく、保存前に明示的に定義してください: >>> b3 = Blog ( id = 3 , name = "Cheddar Talk" , tagline = "Thoughts on cheese." ) >>> b3 . id # Returns 3. >>> b3 . save () >>> b3 . id # Returns 3. 自動主キー値を手動で割り当てる場合は、既に ... ... to have their ticket closed (unless it's fixed!). If you're not certain about closing a ticket, leave a comment with your thoughts instead. If you do close a ticket, you should always make sure of the following: issue が本当に解決したかよく確認してくださ ... ... to have their ticket closed (unless it's fixed!). If you're not certain about closing a ticket, leave a comment with your thoughts instead. If you do close a ticket, you should always make sure of the following: issue が本当に解決したかよく確認してくださ ... 2026年10月08日