per page, with , order by , clip by
Results of 1 - 10 of about 47 for Warning (0.005 sec.)
メッセージフレームワーク 12616
メッセージフレームワーク Web アプリケーションでは非常に一般的に、フォームやその他のユーザーインプットのプロセスの後、ユーザーに向けて一過性の通知メッセージ ("フラッシュメッセージ" とも言われます) を表示する必要があります。 Django は、anonym ... 常、直後のリクエスト) 内で表示するために、これらを検索することを可能にします。全てのメッセージは、優先順位 (たとえば info 、 warning 、 error ) を決定づける特定の level でタグづけされます。 メッセージを有効にする メッセージは、 ミドルウェア クラスと、それ ... ユーザーに何か情報を伝えるメッセージ SUCCESS あるアクションが成功した、例えば "あなたのプロフィールは無事に更新されました" WARNING 問題は起きなかったが、問題になり得る ERROR あるアクションが成功 しなかった か、他の問題が発生した MESSAGE_LEVEL 設定は、最 ... れぞれのレベルは、レベル定数を小文字にした、単一のタグを持っています。 レベル定数 タグ DEBUG debug INFO info SUCCESS success WARNING warning ERROR error メッセージレベル (ビルトインないしカスタムのいずれか) のデフォルトのタグを変更するためには、 MESSAGE_T ...
https://man.mtool.work/django/6.1/ref/contrib/messages.html
ロギングの設定と利用 11446
ロギングの設定と利用 参考 Django のロギング リファレンス Django のロギングの概要 Django はそのままで動作する デフォルトのロギング設定 を持っており、すぐに拡張可能です。 基本的なロギング呼び出しを作成する ログメッセージをコード内から送信する ... そして、ビューなどの関数内で、logger にレコードを送信します。 def some_view ( request ): ... if some_risky_state : logger . warning ( "Platform is running at risk" ) When this code is executed, a LogRecord containing that message will be sent to the logg ... er. If you're using Django's default logging configuration, the message will appear in the console. 上の例で使われている WARNING レベルは、いくつかある ログの重大度レベル : DEBUG , INFO , WARNING , ERROR , CRITICAL の一つです。したがって、別の例は次の ... ようになります。 logger . critical ( "Payment system is not responding" ) 重要 WARNING より低いレベルのレコードはデフォルトではコンソールに表示されません。この動作を変更するには追加の設定が必要です。 ロギングの ...
https://man.mtool.work/django/6.1/howto/logging.html
Django 1.11.3 リリースノート 10291
Django 1.11.3 リリースノート July 1, 2017 Django 1.11.3 fixes several bugs in 1.11.2. バグ修正 Removed an incorrect deprecation warning about a missing renderer argument if a Widget.render() method accepts **kwargs ( #28265 ). Fixed a regre ... section() , and difference() when combining with an EmptyQuerySet ( #28293 ). Prevented Paginator 's unordered object list warning from evaluating a QuerySet ( #28284 ). Fixed the value of redirect_field_name in LoginView 's template context. It's now a ...
https://man.mtool.work/django/6.1/releases/1.11.3.html
Django 1.4 リリースノート 10063
Django 1.4 リリースノート March 23, 2012 Django 1.4 へようこそ! 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 1.3 or older versions. We've a ... eir manage.py . (The old-style manage.py will continue to work as before until Django 1.6. In 1.5 it will raise DeprecationWarning ). The new recommended manage.py file should look like this: #!/usr/bin/env python import os , sys if __name__ == "__main_ ... number of positional or keyword arguments. For example: @register . simple_tag def my_tag ( a , b , * args , ** kwargs ): warning = kwargs [ "warning" ] profile = kwargs [ "profile" ] ... return ... Then, in the template, any number of arguments may be ... passed to the template tag. For example: {% my_tag 123 "abcd" book.title warning = message | lower profile = user.profile %} No wrapping of exceptions in TEMPLATE_DEBUG mode In previous versions of Djang ...
https://man.mtool.work/django/6.1/releases/1.4.html
ロギング 9819
ロギング 参考 ロギングの設定と利用 Django のロギングの概要 Django の logging モジュールは Python の 組み込み logging モジュールを継承しています。 Logging は、一般的なDjangoの django.setup() 関数の一部として設定されているため、明示的に無効に ... console と mail_admins ハンドラは、上述の動作を提供するためにルートロガーにアタッチされます。 Pythonのデフォルトは、レベル WARNING 以上のレコードをコンソールに送ります。 デフォルトのロギング定義 Django のデフォルトのロギング設定は、Python のデフォルトを ... django.request リクエストに関するログをハンドリングします。5XXレスポンスは ERROR メッセージとして送られ、 4XXレスポンスは WARNING メッセージとして送られます。 django.security ロガーに出力されたメッセージは、 django.request ロガーには送られません。 この ... ーバーが受け取ったリクエストに関するログメッセージ。HTTP の 5XX レスポンスは ERROR メッセージとして送られ、 4XX レスポンスは WARNING メッセージとして送られ、その他は INFO メッセージとして送られます。 このロガーに送られるメッセージには、以下のようなコンテキ ...
https://man.mtool.work/django/6.1/ref/logging.html
ロギング 9363
ロギング 参考 ロギングの設定と利用 Django ロギング リファレンス Python プログラマは、素早く便利なデバッグツールとして、コード内で print() をよく使います。ロギングフレームワークを使用するのはわずかな手間がかかるだけですが、それよりはるかにエ ... います。Pythonは下記のログレベルを定義しています。 DEBUG : デバッグのための低レベルシステム情報 INFO : 一般的なシステム情報 WARNING : 重要度の小さい問題が発生したことを示す情報 ERROR : 大きな問題が発生したことを示す情報 CRITICAL : 重大な問題が発生したこと ... ます。 フィルタは、処理前にログレコードを修正するためにも使えます。たとえば、特定の条件を満たした場合に ERROR ログレコードを WARNING レコードに格下げさせるようなフィルタを設定できます。 フィルタは、ロガーもしくはハンドラに対して設定できます; 複数のフィルタ ... , "handlers" : { "console" : { "class" : "logging.StreamHandler" , }, }, "root" : { "handlers" : [ "console" ], "level" : "WARNING" , }, } この設定では、 root という名前の親のロガーがあり、 WARNING レベル以上のメッセージを受け取ったら、 console ハンドラ ...
https://man.mtool.work/django/6.1/topics/logging.html
Django 1.10 リリースノート 9120
Django 1.10 リリースノート 2016年8月1日 Django 1.10 へようこそ! このリリースノートでは、 バージョン 1.10 の新機能 と、Django 1.9 以前からアップグレードする際に注意が必要な 後方互換性が失われた変更点 について説明します。私たちは、非推奨の期間 ... he new shell --command option lets you run a command as Django and exit, instead of opening the interactive shell. Added a warning to dumpdata if a proxy model is specified (which results in no output) without its concrete parent. The new BaseCommand.re ... quires_migrations_checks attribute may be set to True if you want your command to print a warning, like runserver does, if the set of migrations on disk don't match the migrations in the database. To assist with testing, ... ptions) is removed. Use skip_checks (added in Django 1.7) instead. loaddata now raises a CommandError instead of showing a warning when the specified fixture file is not found. Instead of directly accessing the LogEntry.change_message attribute, it's no ...
https://man.mtool.work/django/6.1/releases/1.10.html
Django 3.1.13 リリースノート 8892
Django 3.1.13 リリースノート July 1, 2021 Django 3.1.13 fixes a security issue with severity "high" in 3.1.12. CVE-2021-35042: Potential SQL injection via unsanitized QuerySet.order_by() input Unsanitized user input passed to QuerySet.order ... ed column reference validation in path marked for deprecation resulting in a potential SQL injection even if a deprecation warning is emitted. As a mitigation the strict column reference validation was restored for the duration of the deprecation period ...
https://man.mtool.work/django/6.1/releases/3.1.13.html
Django 6.0 release notes 8892
Django 6.0 release notes December 3, 2025 Welcome to Django 6.0! These release notes cover the new features , as well as some backwards incompatible changes you should be aware of when upgrading from Django 5.2 or earlier. We've begun the d ... of Django prior to 5.2. At that time, you should be able to run your package's tests using python -Wd so that deprecation warnings appear. After making the deprecation warning fixes, your app should be compatible with Django 6.0. What's new in Django 6 ... e project and app templates are removed. Most projects shouldn't be affected, since Django 3.2 has raised the system check warning models.W042 for projects that don't set DEFAULT_AUTO_FIELD . If you haven't dealt with this warning by now, add DEFAULT_AU ... require keyword arguments for less commonly used parameters. Using positional arguments for these now emits a deprecation warning and will raise a TypeError when the deprecation period ends: All optional parameters ( fail_silently and later) must be pa ...
https://man.mtool.work/django/6.1/releases/6.0.html
Django 1.8.18 リリースノート 8436
Django 1.8.18 リリースノート April 4, 2017 Django 1.8.18 fixes two security issues in 1.8.17. CVE-2017-7233: Open redirect and possible XSS attack via user-supplied numeric redirect URLs Django relies on user input in some cases (e.g. djang ... es any redirects as they don't provide any known, useful functionality. Note, however, that this view has always carried a warning that it is not hardened for production use and should be used only as a development aid. ...
https://man.mtool.work/django/6.1/releases/1.8.18.html
PREV 1 2 3 4 5 NEXT