per page, with , order by , clip by
Results of 1 - 10 of about 83 for level (0.003 sec.)
Django 2.2.16 リリースノート 12335
Django 2.2.16 リリースノート September 1, 2020 Django 2.2.16 fixes two security issues and two data loss bugs in 2.2.15. CVE-2020-24583: Incorrect permissions on intermediate-level directories on Python 3.7+ On Python 3.7+, FILE_UPLOAD_DIRE ... CTORY_PERMISSIONS mode was not applied to intermediate-level directories created in the process of uploading files and to intermediate-level collected static directories when using th ... e collectstatic management command. You should review and manually fix permissions on existing intermediate-level directories. CVE-2020-24584: Permission escalation in intermediate-level directories of the file system cache on Python 3. ... 7+ On Python 3.7+, the intermediate-level directories of the file system cache had the system's standard umask rather than 0o077 (no group or others permissions). バ ...
https://man.mtool.work/django/6.1/releases/2.2.16.html
Django 3.0.10 リリースノート 12335
Django 3.0.10 リリースノート September 1, 2020 Django 3.0.10 fixes two security issues and two data loss bugs in 3.0.9. CVE-2020-24583: Incorrect permissions on intermediate-level directories on Python 3.7+ On Python 3.7+, FILE_UPLOAD_DIREC ... TORY_PERMISSIONS mode was not applied to intermediate-level directories created in the process of uploading files and to intermediate-level collected static directories when using th ... e collectstatic management command. You should review and manually fix permissions on existing intermediate-level directories. CVE-2020-24584: Permission escalation in intermediate-level directories of the file system cache on Python 3. ... 7+ On Python 3.7+, the intermediate-level directories of the file system cache had the system's standard umask rather than 0o077 (no group or others permissions). バ ...
https://man.mtool.work/django/6.1/releases/3.0.10.html
Python プログラマーのための Django テンプレート言語 11235
Python プログラマーのための Django テンプレート言語 この文書は Django テンプレートシステムがどのように動作し、どのように拡張するか、技術的な観点から説明します。構文に関するリファレンスを探しているなら、 Django テンプレート言語 を参照してくだ ... ができます。 pop() しすぎると django.template.ContextPopException が発生します: >>> c = Context () >>> c [ "foo" ] = "first level" >>> c . push () {} >>> c [ "foo" ] = "second level" >>> c [ "foo" ] 'second level' >>> c . pop () {'foo': 'second level'} ... >>> c [ "foo" ] 'first level' >>> c [ "foo" ] = "overwritten" >>> c [ "foo" ] 'overwritten' >>> c . pop () Traceback (most recent call last): ... Conte ... () を使うことで、それに対応する pop() が呼び出されるようにすることもできます。 >>> c = Context () >>> c [ "foo" ] = "first level" >>> with c . push (): ... c [ "foo" ] = "second level" ... c [ "foo" ] ... 'second level' >>> c [ "foo" ] 'first level' p ...
https://man.mtool.work/django/6.1/ref/templates/api.html
メッセージフレームワーク 10895
メッセージフレームワーク Web アプリケーションでは非常に一般的に、フォームやその他のユーザーインプットのプロセスの後、ユーザーに向けて一過性の通知メッセージ ("フラッシュメッセージ" とも言われます) を表示する必要があります。 Django は、anonym ... に、これらを検索することを可能にします。全てのメッセージは、優先順位 (たとえば info 、 warning 、 error ) を決定づける特定の level でタグづけされます。 メッセージを有効にする メッセージは、 ミドルウェア クラスと、それに対応する コンテキストプロセッサー ... れました" WARNING 問題は起きなかったが、問題になり得る ERROR あるアクションが成功 しなかった か、他の問題が発生した MESSAGE_LEVEL 設定は、最小限の記録されたレベルを変更するため (もしくは リクエストごとに変更 するため)に使うことができます。これ以下のレベ ... MESSAGE_TAGS = { messages . INFO : "" , 50 : "critical" , } ビューとテンプレートでメッセージを使う add_message ( request , level , message , extra_tags = '' , fail_silently = False ) [ソース] メッセージを付与する メッセージを付与するには、以下を呼び出 ...
https://man.mtool.work/django/6.1/ref/contrib/messages.html
Django 3.1.1 リリースノート 10392
Django 3.1.1 リリースノート September 1, 2020 Django 3.1.1 fixes two security issues and several bugs in 3.1. CVE-2020-24583: Incorrect permissions on intermediate-level directories on Python 3.7+ On Python 3.7+, FILE_UPLOAD_DIRECTORY_PERMI ... SSIONS mode was not applied to intermediate-level directories created in the process of uploading files and to intermediate-level collected static directories when using th ... e collectstatic management command. You should review and manually fix permissions on existing intermediate-level directories. CVE-2020-24584: Permission escalation in intermediate-level directories of the file system cache on Python 3. ... 7+ On Python 3.7+, the intermediate-level directories of the file system cache had the system's standard umask rather than 0o077 (no group or others permissions). バ ...
https://man.mtool.work/django/6.1/releases/3.1.1.html
ロギング 9197
ロギング 参考 ロギングの設定と利用 Django のロギングの概要 Django の logging モジュールは Python の 組み込み logging モジュールを継承しています。 Logging は、一般的なDjangoの django.setup() 関数の一部として設定されているため、明示的に無効に ... tils.log.ServerFormatter" , "format" : "[ {server_time} ] {message} " , "style" : "{" , } }, "handlers" : { "console" : { "level" : "INFO" , "filters" : [ "require_debug_true" ], "class" : "logging.StreamHandler" , }, "django.server" : { "level" : "IN ... FO" , "class" : "logging.StreamHandler" , "formatter" : "django.server" , }, "mail_admins" : { "level" : "ERROR" , "filters" : [ "require_debug_false" ], "class" : "django.utils.log.AdminEmailHandler" , }, }, "loggers" : { " ... django" : { "handlers" : [ "console" , "mail_admins" ], "level" : "INFO" , }, "django.server" : { "handlers" : [ "django.server" ], "level" : "INFO" , "propagate" : False , }, }, } この ...
https://man.mtool.work/django/6.1/ref/logging.html
ロギング 9115
ロギング 参考 ロギングの設定と利用 Django ロギング リファレンス Python プログラマは、素早く便利なデバッグツールとして、コード内で print() をよく使います。ロギングフレームワークを使用するのはわずかな手間がかかるだけですが、それよりはるかにエ ... " : False , "handlers" : { "console" : { "class" : "logging.StreamHandler" , }, }, "root" : { "handlers" : [ "console" ], "level" : "WARNING" , }, } この設定では、 root という名前の親のロガーがあり、 WARNING レベル以上のメッセージを受け取ったら、 cons ... ole ハンドラに送るようになっています。 level を INFO または DEBUG にすると、より詳細なメッセージも表示されるようになります。この設定は開発中に役に立ちます。 次に、より ... " : False , "handlers" : { "console" : { "class" : "logging.StreamHandler" , }, }, "root" : { "handlers" : [ "console" ], "level" : "WARNING" , }, "loggers" : { "django" : { "handlers" : [ "console" ], "level" : os . getenv ( "DJANGO_LOG_LEVEL" , "INF ...
https://man.mtool.work/django/6.1/topics/logging.html
アクセシビリティ 8273
アクセシビリティ The Django project is committed to ensuring that websites built with Django are usable by everyone, including people with disabilities. Django's built-in components, such as the admin interface and default form rendering, s ... gies. アクセシビリティ基準 We work to conform with the Web Content Accessibility Guidelines (WCAG), version 2.2, at the AA level. WCAG is the most established standard for web accessibility. AA-level guidelines are the most common legal compliance tar ... get worldwide. We also aim to follow other best practices, such as: WCAG 2.2 AAA-level guidelines – stricter criteria that go beyond the AA level. The upcoming WCAG 3.0 guidelines – a new, evolving standard th ...
https://man.mtool.work/django/6.1/internals/contributing/accessibility.html
Django 6.1 release notes 8273
Django 6.1 release notes August 5, 2026 Welcome to Django 6.1! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 6.0 or earlier. We've begun the ... ve example perform only two queries: Fetch all books. Fetch associated authors. See fetch modes for more details. Database-level delete options for ForeignKey.on_delete ForeignKey.on_delete now supports database-level delete options: DB_CASCADE DB_SET ... logic entirely within the database, using the SQL ON DELETE clause. They are thus more efficient than the existing Python-level options, as Django does not need to load objects before deleting them. As a consequence, the DB_CASCADE option does not tr ... The new JSONNull expression provides an explicit way to represent the JSON scalar null . It can be used when saving a top-level JSONField value, or querying for top-level or nested JSON null values. See None の保存とクエリ for usage examples and some ...
https://man.mtool.work/django/6.1/releases/6.1.html
ロギングの設定と利用 7852
ロギングの設定と利用 参考 Django のロギング リファレンス Django のロギングの概要 Django はそのままで動作する デフォルトのロギング設定 を持っており、すぐに拡張可能です。 基本的なロギング呼び出しを作成する ログメッセージをコード内から送信する ... ージを受け取ります)。上の例を使うと、次のように書けます: { "class" : "logging.FileHandler" , "filename" : "general.log" , "level" : "DEBUG" , } これで、レベル DEBUG 以上のレコードだけを受け付けるようにハンドラを設定できます。 ロガーマッピングを設定する ... コードを送信するには、ロガーマッピングをそのハンドラを使うように設定します。例えば: LOGGING = { # ... "loggers" : { "" : { "level" : "DEBUG" , "handlers" : [ "file" ], }, }, } マッピングの名前はどのログレコードを処理するかを決定します。この設定 ( "" ) ... xample defines formatters named verbose and simple : LOGGING = { # ... "formatters" : { "verbose" : { "format" : " {name} {levelname} {asctime} {module} {process:d} {thread:d} {message} " , "style" : "{" , }, "simple" : { "format" : " {levelname} {mes ...
https://man.mtool.work/django/6.1/howto/logging.html
PREV 1 2 3 4 5 6 7 8 9 NEXT