... です。 例: 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 ... ... ーのロールをSQLシェルから変更することもできます (既存のスーパーユーザーアカウントから実行されているとして): postgres # ALTER ROLE < user_name > CREATEDB NOSUPERUSER NOCREATEROLE ; データベースのスーパーユーザーを作成する これは、たとえばユーザー作成時に ... Lシェルからユーザのロールを変更することもできます (既存のスーパーユーザアカウントから行われると仮定して): postgres # ALTER ROLE < user_name > SUPERUSER ; Windows Windows プラットフォームでは、pgAdmin III ユーティリティを使用して、データベースユーザー ... ... 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 ... ... 下の表示オプションを使って変更できます: bold underscore blink reverse conceal 色の指定は、次のいずれかのパターンに従います: role=fg role=fg/bg role=fg,option,option role=fg/bg,option,option ここで role は有効な色の役割の名前、 fg は描画色、 bg は背景色 ... ... :tag:`tagname` テンプレートフィルタ :filter:`filtername` テンプレート :template:`path/to/template.html` これらはすべて、 :role:`link text <link>` の形式でカスタムリンクテキストをサポートしています。たとえば、 :tag:`block <built_in-block>` のように記 ... ... 定しないので、パフォーマンスが少し改善されます。これらのパラメータは 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 ... ... ... 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 ... ... 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 ... ... 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 ... 2026年10月08日