per page, with , order by , clip by
Results of 1 - 10 of about 16 for console (0.005 sec.)
ロギング 14590
ロギング 参考 ロギングの設定と利用 Django ロギング リファレンス Python プログラマは、素早く便利なデバッグツールとして、コード内で print() をよく使います。ロギングフレームワークを使用するのはわずかな手間がかかるだけですが、それよりはるかにエ ... の設定がこちらです。 settings.py import os LOGGING = { "version" : 1 , "disable_existing_loggers" : False , "handlers" : { "console" : { "class" : "logging.StreamHandler" , }, }, "root" : { "handlers" : [ "console" ], "level" : "WARNING" , }, } この設定で ... は、 root という名前の親のロガーがあり、 WARNING レベル以上のメッセージを受け取ったら、 console ハンドラに送るようになっています。 level を INFO または DEBUG にすると、より詳細なメッセージも表示されるようになります。こ ... 方法を示しています。 settings.py import os LOGGING = { "version" : 1 , "disable_existing_loggers" : False , "handlers" : { "console" : { "class" : "logging.StreamHandler" , }, }, "root" : { "handlers" : [ "console" ], "level" : "WARNING" , }, "loggers" : ...
https://man.mtool.work/django/6.1/topics/logging.html
メールを送信する 10137
メールを送信する Django provides wrappers for Python's email and smtplib modules to simplify composing and sending email. Django's email framework also supports swapping in different delivery mechanisms: you can direct email to the console ... end () Configuring email New Django projects are not configured to send email by default. Instead, email is printed to the console as a development aid (for projects created with startproject ) or results in a MailerDoesNotExist error (when the MAILERS ... ssl_context using ssl.SSLContext.load_verify_locations() . コンソールバックエンド Instead of sending out real emails, the console backend writes the emails that would be sent to the standard output. To use it, set BACKEND to "django.core.mail.backends. ... console.EmailBackend" . The console backend supports these OPTIONS : "stream" : a stream-like object to write to. Defaults to stdout . "fail_silently" : set t ...
https://man.mtool.work/django/6.1/topics/email.html
ドキュメントを書く 9773
ドキュメントを書く 私たちはドキュメントの一貫性と読みやすさを重要視しています。結局のところ、Django はジャーナリズムの環境で作られました!ですから、私たちはコードを扱うようにドキュメントを扱います。できるだけ頻繁に改善することを目指しています ... チケットへのリンク (通常、パッチリリースノート用に予約されています): :ticket: `12345` Django's documentation uses a custom console directive for documenting command-line examples involving django-admin , manage.py , python , etc. In the HTML documentati ... yle command prompt and a second tab showing a Windows prompt. 例えば、次のような断片を: use this command: .. code-block :: console $ python manage.py shell このように置き換えることができます: use this command: .. console :: $ python manage.py shell 下記 ... の2点に注意してください: 通常、 .. code-block:: console ディレクティブの出現箇所を置き換えることになります。 コード例の実際の内容を変更する必要はありません。Unixライクな環境(つま ...
https://man.mtool.work/django/6.1/internals/contributing/writing-documentation.h...
ロギング 9253
ロギング 参考 ロギングの設定と利用 Django のロギングの概要 Django の logging モジュールは Python の 組み込み logging モジュールを継承しています。 Logging は、一般的なDjangoの django.setup() 関数の一部として設定されているため、明示的に無効に ... ジをコンソールに送信します。 django.server を除く全てのロガーは、ルートの django ロガーまで、親に対してログを伝播させます。 console と mail_admins ハンドラは、上述の動作を提供するためにルートロガーにアタッチされます。 Pythonのデフォルトは、レベル WARNING ... )" : "django.utils.log.ServerFormatter" , "format" : "[ {server_time} ] {message} " , "style" : "{" , } }, "handlers" : { "console" : { "level" : "INFO" , "filters" : [ "require_debug_true" ], "class" : "logging.StreamHandler" , }, "django.server" : { " ... "require_debug_false" ], "class" : "django.utils.log.AdminEmailHandler" , }, }, "loggers" : { "django" : { "handlers" : [ "console" , "mail_admins" ], "level" : "INFO" , }, "django.server" : { "handlers" : [ "django.server" ], "level" : "INFO" , "propag ...
https://man.mtool.work/django/6.1/ref/logging.html
Django 1.5 リリースノート 8889
Django 1.5 リリースノート February 26, 2013 Django 1.5 へようこそ! 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.4 or older versions. We'v ... request as resolver_match . By default, all logging messages reaching the django logger when DEBUG is True are sent to the console (unless you redefine the logger in your LOGGING setting). When using RequestContext , it is now possible to look up permis ... Deprecation warnings are enabled and warnings are captured into the logging system. Logged warnings are routed through the console logging handler, which by default requires DEBUG to be True for output to be generated. The result is that DeprecationWarn ... ings should be printed to the console in development environments the way they have been in Python versions < 2.7. The API for django.contrib.admin.ModelAdmin.m ...
https://man.mtool.work/django/6.1/releases/1.5.html
Django 1.9 リリースノート 8352
Django 1.9 リリースノート December 1, 2015 Django 1.9 へようこそ! このリリースノートでは、 バージョン 1.9 の新機能 と、Django 1.8 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機 ... st and django.security loggers. Instead, it defines a single django logger, filtered at the INFO level, with two handlers: console : filtered at the INFO level and only active if DEBUG=True . mail_admins : filtered at the ERROR level and only active if ... Django's default logging, you should see minimal changes in behavior, but you might see some new logging to the runserver console, for example. If you are overriding Django's default logging, you should check to see how your configuration merges with t ... STEM_CHECKS setting now silences messages of all levels. Previously, messages of ERROR level or higher were printed to the console. The FlatPage.enable_comments field is removed from the FlatPageAdmin as it's unused by the application. If your project o ...
https://man.mtool.work/django/6.1/releases/1.9.html
コンテンツセキュリティポリシー 8179
コンテンツセキュリティポリシー 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 ... uction environments. Policy violation reports When a CSP violation occurs, browsers typically log details to the developer console, providing immediate feedback during development. To also receive these reports programmatically, the policy must include ...
https://man.mtool.work/django/6.1/ref/csp.html
デプロイチェックリスト 8005
デプロイチェックリスト インターネットは敵対的な環境です。Django プロジェクトをデプロイする前に、セキュリティ、パフォーマンス、運用を念頭に置いて、時間をかけて設定を見直すべきです。 Django には多くの セキュリティ機能 があります。いくつかはビ ... 送信する場合、設定値が正しくセットされている必要があります。 In development, email is often configured to be printed to the console or stored in a local file. For production, you probably want to send real email messages. Configuring email has more infor ...
https://man.mtool.work/django/6.1/howto/deployment/checklist.html
ロギングの設定と利用 8005
ロギングの設定と利用 参考 Django のロギング リファレンス Django のロギングの概要 Django はそのままで動作する デフォルトのロギング設定 を持っており、すぐに拡張可能です。 基本的なロギング呼び出しを作成する ログメッセージをコード内から送信する ... message will be sent to the logger. If you're using Django's default logging configuration, the message will appear in the console. 上の例で使われている WARNING レベルは、いくつかある ログの重大度レベル : DEBUG , INFO , WARNING , ERROR , CRITICAL の一つ ...
https://man.mtool.work/django/6.1/howto/logging.html
Django 4.0 リリースノート 7815
Django 4.0 リリースノート 2021年12月7日 Django 4.0 へようこそ! このリリースノートでは、 バージョン 4.0 の新機能 と、Django 3.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... The new DiscoverRunner.log() method provides a way to log messages that uses the DiscoverRunner.logger , or prints to the console if not set. DiscoverRunner can now execute tests in a random order using the test --shuffle option. The test --parallel op ...
https://man.mtool.work/django/6.1/releases/4.0.html
PREV 1 2 NEXT