per page, with , order by , clip by
Results of 1 - 10 of about 38 for members (0.005 sec.)
データベースアクセスの最適化 — Django 6.1 ドキュメント 14230
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベースアクセスの最適化 ¶ Djangoのデータベース層は、開発者がデータベースを最大限活用できるように、さまざまな方法を提供しています。このドキュメン ... になったときは、すぐに評価を行います。 例えば、 User と多対多の関連をもつ Group モデルを考えたとき、以下のコードが最適です: members = group . members . all () if display_group_members : if members : if current_user in members : print ( "You and" , len ( ... members ) - 1 , "other users are members of this group." ) else : print ( "There are" , len ( members ), "members in this group." ) for member in members : print ( ... member . username ) else : print ( "There are no members in this group." ) 最適である理由: クエリセットは遅延評価されるので、 display_group_members が False の場合、データベースク ...
https://man.mtool.work/django/6.1/topics/db/optimization.html
データベースアクセスの最適化 — Django 6.1 ドキュメント 14135
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベースアクセスの最適化 ¶ Djangoのデータベース層は、開発者がデータベースを最大限活用できるように、さまざまな方法を提供しています。このドキュメン ... になったときは、すぐに評価を行います。 例えば、 User と多対多の関連をもつ Group モデルを考えたとき、以下のコードが最適です: members = group . members . all () if display_group_members : if members : if current_user in members : print ( "You and" , len ( ... members ) - 1 , "other users are members of this group." ) else : print ( "There are" , len ( members ), "members in this group." ) for member in members : print ( ... member . username ) else : print ( "There are no members in this group." ) 最適である理由: クエリセットは遅延評価されるので、 display_group_members が False の場合、データベースク ...
https://man.mtool.work/django/6.1/topics/db/optimization.html
Django 2.2.24 リリースノート — Django 6.1 ドキュメント 8742
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.2.24 リリースノート ¶ June 2, 2021 Django 2.2.24 fixes two security issues in 2.2.23. CVE-2021-33203: Potential directory traversal via adm ... indocs ¶ Staff members could use the admindocs TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) ... determinate attacks validators leading zeros リリースノート June fixes security issues Potential directory traversal Staff members TemplateDetailView view check クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/2.2.24.html
Django 3.1.12 リリースノート — Django 6.1 ドキュメント 8742
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.1.12 リリースノート ¶ June 2, 2021 Django 3.1.12 fixes two security issues in 3.1.11. CVE-2021-33203: Potential directory traversal via adm ... indocs ¶ Staff members could use the admindocs TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) ... determinate attacks validators leading zeros リリースノート June fixes security issues Potential directory traversal Staff members TemplateDetailView view check クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/3.1.12.html
モデル — Django 6.1 ドキュメント 8648
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデル ¶ モデルは、データに関する唯一かつ決定的な情報源です。あなたが保持するデータが必要とするフィールドとその動作を定義します。一般的に、各モデルは ... ) def __str__ ( self ): return self . name class Group ( models . Model ): name = models . CharField ( max_length = 128 ) members = models . ManyToManyField ( Person , through = "Membership" ) def __str__ ( self ): return self . name class Membership ( ... ず指定する必要があります。指定しない場合はバリデーションエラーが発生します。 これで ManyToManyField が中間モデル (この場合は Membership ) を使うように設定できたので、多対多のリレーションシップを作成する準備ができました。これを行うには、中間モデルのインスタ ... on . objects . create ( name = "Paul McCartney" ) >>> beatles = Group . objects . create ( name = "The Beatles" ) >>> m1 = Membership ( ... person = ringo , ... group = beatles , ... date_joined = date ( 1962 , 8 , 16 ), ... invite_reason = "Needed a ne ...
https://man.mtool.work/django/6.1/topics/db/models.html
モデル — Django 6.1 ドキュメント 8648
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデル ¶ モデルは、データに関する唯一かつ決定的な情報源です。あなたが保持するデータが必要とするフィールドとその動作を定義します。一般的に、各モデルは ... ) def __str__ ( self ): return self . name class Group ( models . Model ): name = models . CharField ( max_length = 128 ) members = models . ManyToManyField ( Person , through = "Membership" ) def __str__ ( self ): return self . name class Membership ( ... ず指定する必要があります。指定しない場合はバリデーションエラーが発生します。 これで ManyToManyField が中間モデル (この場合は Membership ) を使うように設定できたので、多対多のリレーションシップを作成する準備ができました。これを行うには、中間モデルのインスタ ... on . objects . create ( name = "Paul McCartney" ) >>> beatles = Group . objects . create ( name = "The Beatles" ) >>> m1 = Membership ( ... person = ringo , ... group = beatles , ... date_joined = date ( 1962 , 8 , 16 ), ... invite_reason = "Needed a ne ...
https://man.mtool.work/django/6.1/topics/db/models.html
Django 1.2 リリースノート — Django 6.1 ドキュメント 8223
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.2 リリースノート ¶ 2010 年 5 月 17 日 Django 1.2 へようこそ! Nearly a year in the making, Django 1.2 packs an impressive list of new featur ... r, it handled introspection in a non-standard way, depending on wrapped objects implementing a public method named get_all_members() . Since this could easily lead to name clashes, it has been changed to use the standard Python introspection method, inv ... olving __members__ and __dir__() . If you used LazyObject in your own code and implemented the get_all_members() method for wrapped objects ... r__() or other methods that allow for attributes not discoverable by normal mechanisms), you can simply remove the get_all_members() method. The default implementation on LazyObject will do the right thing. If you have more complex requirements for intr ...
https://man.mtool.work/django/6.1/releases/1.2.html
Django 1.2 リリースノート — Django 6.1 ドキュメント 8223
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.2 リリースノート ¶ 2010 年 5 月 17 日 Django 1.2 へようこそ! Nearly a year in the making, Django 1.2 packs an impressive list of new featur ... r, it handled introspection in a non-standard way, depending on wrapped objects implementing a public method named get_all_members() . Since this could easily lead to name clashes, it has been changed to use the standard Python introspection method, inv ... olving __members__ and __dir__() . If you used LazyObject in your own code and implemented the get_all_members() method for wrapped objects ... r__() or other methods that allow for attributes not discoverable by normal mechanisms), you can simply remove the get_all_members() method. The default implementation on LazyObject will do the right thing. If you have more complex requirements for intr ...
https://man.mtool.work/django/6.1/releases/1.2.html
Django 2.2.24 リリースノート — Django 6.1 ドキュメント 7688
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.2.24 リリースノート ¶ June 2, 2021 Django 2.2.24 fixes two security issues in 2.2.23. CVE-2021-33203: Potential directory traversal via adm ... indocs ¶ Staff members could use the admindocs TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) ...
https://man.mtool.work/django/6.1/releases/2.2.24.html
Django 3.1.12 リリースノート — Django 6.1 ドキュメント 7688
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.1.12 リリースノート ¶ June 2, 2021 Django 3.1.12 fixes two security issues in 3.1.11. CVE-2021-33203: Potential directory traversal via adm ... indocs ¶ Staff members could use the admindocs TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) ...
https://man.mtool.work/django/6.1/releases/3.1.12.html
PREV 1 2 3 4 NEXT