per page, with , order by , clip by
Results of 1 - 10 of about 30 for role (0.005 sec.)
マネージャ — Django 6.1 ドキュメント 13565
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » マネージャ ¶ class Manager [ソース] ¶ マネージャ (Manager) とは、Django のモデルに対するデータベースクエリの操作を提供するインターフェイスです。Djan ... です。 例: class AuthorManager ( models . Manager ): def get_queryset ( self ): return super () . get_queryset () . filter ( role = "A" ) class EditorManager ( models . Manager ): def get_queryset ( self ): return super () . get_queryset () . filter ( ... ( models . Model ): first_name = models . CharField ( max_length = 50 ) last_name = models . CharField ( max_length = 50 ) role = models . CharField ( max_length = 1 , choices = { "A" : _ ( "Author" ), "E" : _ ( "Editor" )}) people = models . Manager ... nager でも実装する必要があります: class PersonQuerySet ( models . QuerySet ): def authors ( self ): return self . filter ( role = "A" ) def editors ( self ): return self . filter ( role = "E" ) class PersonManager ( models . Manager ): def get_querys ...
https://man.mtool.work/django/6.1/topics/db/managers.html
マネージャ — Django 6.1 ドキュメント 12606
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » マネージャ ¶ class Manager [ソース] ¶ マネージャ (Manager) とは、Django のモデルに対するデータベースクエリの操作を提供するインターフェイスです。Djan ... です。 例: class AuthorManager ( models . Manager ): def get_queryset ( self ): return super () . get_queryset () . filter ( role = "A" ) class EditorManager ( models . Manager ): def get_queryset ( self ): return super () . get_queryset () . filter ( ... ( models . Model ): first_name = models . CharField ( max_length = 50 ) last_name = models . CharField ( max_length = 50 ) role = models . CharField ( max_length = 1 , choices = { "A" : _ ( "Author" ), "E" : _ ( "Editor" )}) people = models . Manager ... nager でも実装する必要があります: class PersonQuerySet ( models . QuerySet ): def authors ( self ): return self . filter ( role = "A" ) def editors ( self ): return self . filter ( role = "E" ) class PersonManager ( models . Manager ): def get_querys ...
https://man.mtool.work/django/6.1/topics/db/managers.html
GeoDjango アプリのテスト — Django 6.1 ドキュメント 10056
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » GeoDjango アプリのテスト ¶ このドキュメントには、 PostGIS ユーザのための追加の注意事項と設定が含まれています。 PostGIS ¶ 設定 ¶ 注釈 以下の設定には合 ... ーのロールをSQLシェルから変更することもできます (既存のスーパーユーザーアカウントから実行されているとして): postgres # ALTER ROLE < user_name > CREATEDB NOSUPERUSER NOCREATEROLE ; データベースのスーパーユーザーを作成する ¶ これは、たとえばユーザー作成時 ... Lシェルからユーザのロールを変更することもできます (既存のスーパーユーザアカウントから行われると仮定して): postgres # ALTER ROLE < user_name > SUPERUSER ; Windows ¶ Windows プラットフォームでは、pgAdmin III ユーティリティを使用して、データベースユーザ ...
https://man.mtool.work/django/6.1/ref/contrib/gis/testing.html
GeoDjango アプリのテスト — Django 6.1 ドキュメント 10056
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » GeoDjango アプリのテスト ¶ このドキュメントには、 PostGIS ユーザのための追加の注意事項と設定が含まれています。 PostGIS ¶ 設定 ¶ 注釈 以下の設定には合 ... ーのロールをSQLシェルから変更することもできます (既存のスーパーユーザーアカウントから実行されているとして): postgres # ALTER ROLE < user_name > CREATEDB NOSUPERUSER NOCREATEROLE ; データベースのスーパーユーザーを作成する ¶ これは、たとえばユーザー作成時 ... Lシェルからユーザのロールを変更することもできます (既存のスーパーユーザアカウントから行われると仮定して): postgres # ALTER ROLE < user_name > SUPERUSER ; Windows ¶ Windows プラットフォームでは、pgAdmin III ユーティリティを使用して、データベースユーザ ...
https://man.mtool.work/django/6.1/ref/contrib/gis/testing.html
チケットをトリアージする — Django 6.1 ドキュメント 9422
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » チケットをトリアージする ¶ Django uses Trac for managing the work on the code base. Trac is a community-tended garden of the bugs people have found ... ells us what and who each ticket is waiting on. Since a picture is worth a thousand words, let's start there: We have four roles in this diagram. Maintainers (also known as Fellows) usually take part in all of them, but anyone in the Django community ... can participate in any role except merger. The merger role is granted by a vote of the Steering Council . Triagers: anyone can take on this role by ch ...
https://man.mtool.work/django/6.1/internals/contributing/triaging-tickets.html
チケットをトリアージする — Django 6.1 ドキュメント 9422
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » チケットをトリアージする ¶ Django uses Trac for managing the work on the code base. Trac is a community-tended garden of the bugs people have found ... ells us what and who each ticket is waiting on. Since a picture is worth a thousand words, let's start there: We have four roles in this diagram. Maintainers (also known as Fellows) usually take part in all of them, but anyone in the Django community ... can participate in any role except merger. The merger role is granted by a vote of the Steering Council . Triagers: anyone can take on this role by ch ...
https://man.mtool.work/django/6.1/internals/contributing/triaging-tickets.html
django-admin と manage.py — Django 6.1 ドキュメント 8464
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » django-admin と manage.py ¶ django-admin は Django の管理タスクのためのコマンドラインユーティリティです。このドキュメントでは、その機能の全体を一通り ... 下の表示オプションを使って変更できます: bold underscore blink reverse conceal 色の指定は、次のいずれかのパターンに従います: role=fg role=fg/bg role=fg,option,option role=fg/bg,option,option ここで role は有効な色の役割の名前、 fg は描画色、 bg は背景色 ...
https://man.mtool.work/django/6.1/ref/django-admin.html
django-admin と manage.py — Django 6.1 ドキュメント 8464
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » django-admin と manage.py ¶ django-admin は Django の管理タスクのためのコマンドラインユーティリティです。このドキュメントでは、その機能の全体を一通り ... 下の表示オプションを使って変更できます: bold underscore blink reverse conceal 色の指定は、次のいずれかのパターンに従います: role=fg role=fg/bg role=fg,option,option role=fg/bg,option,option ここで role は有効な色の役割の名前、 fg は描画色、 bg は背景色 ...
https://man.mtool.work/django/6.1/ref/django-admin.html
データベース — Django 6.1 ドキュメント 8139
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベース ¶ Django は次のデータベースを公式にサポートしています。 PostgreSQL MariaDB MySQL Oracle SQLite サードパーティから提供されているデータベ ... 定しないので、パフォーマンスが少し改善されます。これらのパラメータは postgresql.conf で直接設定することもできますし、 ALTER ROLE でデータベースユーザごとに設定することもできます。 Django はこの最適化なしでも問題なく動作しますが、新しい接続のたびに、こ ... 分で指定してください。 DATABASES = { "default" : { "ENGINE" : "django.db.backends.postgresql" , # ... "OPTIONS" : { "assume_role" : "my_application_role" , }, }, } 接続プール ¶ Connection pooling allows connections to be reused across threads, reducin ...
https://man.mtool.work/django/6.1/ref/databases.html
データベース — Django 6.1 ドキュメント 8139
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » データベース ¶ Django は次のデータベースを公式にサポートしています。 PostgreSQL MariaDB MySQL Oracle SQLite サードパーティから提供されているデータベ ... 定しないので、パフォーマンスが少し改善されます。これらのパラメータは postgresql.conf で直接設定することもできますし、 ALTER ROLE でデータベースユーザごとに設定することもできます。 Django はこの最適化なしでも問題なく動作しますが、新しい接続のたびに、こ ... 分で指定してください。 DATABASES = { "default" : { "ENGINE" : "django.db.backends.postgresql" , # ... "OPTIONS" : { "assume_role" : "my_application_role" , }, }, } 接続プール ¶ Connection pooling allows connections to be reused across threads, reducin ...
https://man.mtool.work/django/6.1/ref/databases.html
PREV 1 2 3 NEXT