... 使って、データベースレベルで必要な操作を記述する SQL 式を生成します。 例でやってみましょう。通常はこのようにします: # Tintin filed a news story! reporter = Reporters . objects . get ( name = "Tintin" ) reporter . stories_filed += 1 reporter . save () こ ... こでは、 reporter.stories_filed の値をデータベースからメモリに取り込んで、Pythonでおなじみの演算子を使って操作し、そのオブジェクトをデータベースに保存して ... ることもできます: from django.db.models import F reporter = Reporters . objects . get ( name = "Tintin" ) reporter . stories_filed = F ( "stories_filed" ) + 1 reporter . save () reporter.stories_filed = F('stories_filed') + 1 はインスタンス属性に値を代入 ... ... 使って、データベースレベルで必要な操作を記述する SQL 式を生成します。 例でやってみましょう。通常はこのようにします: # Tintin filed a news story! reporter = Reporters . objects . get ( name = "Tintin" ) reporter . stories_filed += 1 reporter . save () こ ... こでは、 reporter.stories_filed の値をデータベースからメモリに取り込んで、Pythonでおなじみの演算子を使って操作し、そのオブジェクトをデータベースに保存して ... ることもできます: from django.db.models import F reporter = Reporters . objects . get ( name = "Tintin" ) reporter . stories_filed = F ( "stories_filed" ) + 1 reporter . save () reporter.stories_filed = F('stories_filed') + 1 はインスタンス属性に値を代入 ... ... ies . バグレポート ¶ Before reporting a bug on the ticket tracker consider these points: Check that someone hasn't already filed the bug report by searching or running custom queries in the ticket tracker. Don't use the ticket system to ask support qu ... トケースが最高のバグレポートであり、バグを確認する最善の方法です。 Don't post to Django Forum only to announce that you have filed a bug report. All the tickets are mailed to another list, django-updates , which is tracked by developers and interested c ... ommunity members; we see them as they are filed. To understand the lifecycle of your ticket once you have created it, refer to トリアージのワークフロー . Reporting user i ... ... ies . バグレポート ¶ Before reporting a bug on the ticket tracker consider these points: Check that someone hasn't already filed the bug report by searching or running custom queries in the ticket tracker. Don't use the ticket system to ask support qu ... トケースが最高のバグレポートであり、バグを確認する最善の方法です。 Don't post to Django Forum only to announce that you have filed a bug report. All the tickets are mailed to another list, django-updates , which is tracked by developers and interested c ... ommunity members; we see them as they are filed. To understand the lifecycle of your ticket once you have created it, refer to トリアージのワークフロー . Reporting user i ... ... can reproduce it and it seems valid, make a note that you confirmed the bug and accept the ticket. Make sure the ticket is filed under the correct component area. Consider writing a patch that adds a test for the bug's behavior, even if you don't fix ... ... can reproduce it and it seems valid, make a note that you confirmed the bug and accept the ticket. Make sure the ticket is filed under the correct component area. Consider writing a patch that adds a test for the bug's behavior, even if you don't fix ... 2026年10月08日