... . all () <QuerySet []> 多対多のリレーションシップの「反対側の」端を経由した追加: >>> a4 = Article ( headline = "NASA finds intelligent life on Earth" ) >>> a4 . save () >>> p2 . article_set . add ( a4 ) >>> p2 . article_set . all () <QuerySet [<Article: NAS ... A finds intelligent life on Earth>]> >>> a4 . publications . all () <QuerySet [<Publication: Science News>]> キーワードを使った反対側の端からの ... set . create ( headline = "Oxygen-free diet works wonders" ) >>> p2 . article_set . all () <QuerySet [<Article: NASA finds intelligent life on Earth>, <Article: Oxygen-free diet works wonders>]> >>> a5 = p2 . article_set . all ()[ 1 ] >>> a5 . publications ... 2026年10月08日