per page, with , order by , clip by
Results of 1 - 10 of about 15 for role (0.006 sec.)
マネージャ 13741
マネージャ class Manager [ソース] マネージャ (Manager) とは、Django のモデルに対するデータベースクエリの操作を提供するインターフェイスです。Django アプリケーション内の1つのモデルに対して、 Manager は最低でも1つは存在します。 Manager クラスの ... です。 例: 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 アプリのテスト 11233
GeoDjango アプリのテスト このドキュメントには、 PostGIS ユーザのための追加の注意事項と設定が含まれています。 PostGIS 設定 注釈 以下の設定には合理的なデフォルト値が設定されており、手動で設定する必要はありません。 POSTGIS_VERSION GeoDjango の ... ーのロールを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
チケットをトリアージする 10153
チケットをトリアージする Django uses Trac for managing the work on the code base. Trac is a community-tended garden of the bugs people have found and the features Django has decided to add. As in any garden, sometimes there are weeds to be ... 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 9073
django-admin と manage.py django-admin は Django の管理タスクのためのコマンドラインユーティリティです。このドキュメントでは、その機能の全体を一通り説明します。 さらに、 manage.py は各 Django プロジェクト内に自動的に作成されます。 jango-admi ... 下の表示オプションを使って変更できます: 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 ドキュメントジェネレータ 8725
Django admin ドキュメントジェネレータ Django の admindocs アプリは、 INSTALLED_APPS にある任意のアプリのモデル、ビュー、テンプレートタグ、 テンプレートフィルタの docstring からドキュメントを取り出し、 Django admin から利用できるようにします ... :tag:`tagname` テンプレートフィルタ :filter:`filtername` テンプレート :template:`path/to/template.html` これらはすべて、 :role:`link text <link>` の形式でカスタムリンクテキストをサポートしています。たとえば、 :tag:`block <built_in-block>` のように記 ...
https://man.mtool.work/django/6.1/ref/contrib/admin/admindocs.html
データベース 8725
データベース Django は次のデータベースを公式にサポートしています。 PostgreSQL MariaDB MySQL Oracle SQLite サードパーティから提供されているデータベースバックエンド も多数あります。 Django はすべてのデータベースで可能な限り多くの機能をサポート ... 定しないので、パフォーマンスが少し改善されます。これらのパラメータは 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, reducing ...
https://man.mtool.work/django/6.1/ref/databases.html
コンテンツセキュリティポリシー 8359
コンテンツセキュリティポリシー New in Django 6.0. Content Security Policy (CSP) is a web security standard that helps prevent content injection attacks by restricting the sources from which content can be loaded. It plays an important role ...
https://man.mtool.work/django/6.1/ref/csp.html
Django 0.96 リリースノート 8359
Django 0.96 リリースノート Django 0.96 へようこそ! The primary goal for 0.96 is a cleanup and stabilization of the features introduced in 0.95. There have been a few small backwards-incompatible changes since 0.95, but the upgrade process s ... g with hashed passwords in the admin. ありがとう Since 0.95, a number of people have stepped forward and taken a major new role in Django's development. We'd like to thank these people for all their hard work: Russell Keith-Magee and Malcolm Tredinni ...
https://man.mtool.work/django/6.1/releases/0.96.html
How to release Django 7645
How to release Django このドキュメントでは、Django のリリース方法について説明しています。 これらの手順を変更した場合は、最新の情報を保ってください! ここでのポイントは、規定を設けるのではなく、説明的であることです。自由に効率化したり、変更し ... pi.org/legacy/ username = __token__ password = # A project token. Access to Django's project on Transifex , with a Manager role. Generate an API Token in the user setting section and set up your $HOME/.transifexrc file like this: ~/.transifexrc [http ...
https://man.mtool.work/django/6.1/internals/howto-release-django.html
Django 3.1 リリースノート 7645
Django 3.1 リリースノート August 4, 2020 Django 3.1 へようこそ! このリリースノートでは、 バージョン 3.1 の新機能 と、Django 3.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... te.enable_nav_sidebar to False . Rendering the sidebar requires access to the current request in order to set CSS and ARIA role affordances. This requires using 'django.template.context_processors.request' in the 'context_processors' option of OPTION ...
https://man.mtool.work/django/6.1/releases/3.1.html
PREV 1 2 NEXT