per page, with , order by , clip by
Results of 1 - 10 of about 40 for fail (0.005 sec.)
Migrating email to mailers 14853
Migrating email to mailers Django 6.1 introduced the MAILERS setting, replacing EMAIL_BACKEND and several other EMAIL_* settings. It also introduced mail.mailers for obtaining configured email backend instances, replacing mail.get_connectio ... reusable Django libraries that use these specific features: Replacing get_connection() and connection arguments Replacing fail_silently Migrating custom email backends Replacing auth_user and auth_password Updating AdminEmailHandler email_backend Ig ... noring transient failures in error reporting バージョン 6.1 で非推奨: The following settings and functions will be removed in Django 2028: EMAIL ... E , EMAIL_TIMEOUT , EMAIL_USE_SSL , EMAIL_USE_TLS mail.get_connection() and the connection arguments to mail functions The fail_silently argument to send_mail() , send_mass_mail() , mail_admins() , mail_managers() , and EmailMessage.send() The auth_u ...
https://man.mtool.work/django/6.1/howto/mailers-migration.html
メールを送信する 13901
メールを送信する 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 ... 、 DEFAULT_CHARSET 設定の値にセットされます。 send_mail() send_mail ( subject , message , from_email , recipient_list , * , fail_silently = False , auth_user = None , auth_password = None , connection = None , html_message = None ) [ソース] django.cor ... ドで他の受信者を見ることができます。 The following parameters are optional, and must be given as keyword arguments if used. fail_silently : A boolean, default False . If set True , send_mail() will suppress some errors during sending. (The exact excep ... using : An optional MAILERS alias to use to send the mail. If unspecified, the default mailer configuration will be used. fail_silently , auth_user , auth_password , and connection are not allowed with the using argument. 返り値は、送信に成功したメッ ...
https://man.mtool.work/django/6.1/topics/email.html
Django 6.1 release notes 8612
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 ... same StreamingHttpResponse . Previously, they would consume the streaming response's content, causing subsequent calls to fail. ユーティリティ parse_duration() now supports ISO 8601 time periods expressed in weeks ( PnW ). Backwards incompatible cha ... the JSON null primitive. This matches the behavior of a standalone JSONField when storing None values. E メール Providing fail_silently=True , auth_user , or auth_password to mail sending functions (such as send_mail() ) while also providing a conne ... precated. The EmailMessage.connection attribute is also deprecated. Switch to the using argument with a MAILERS alias. The fail_silently argument to send_mail() , send_mass_mail() , mail_admins() , mail_managers() , and EmailMessage.send() is depreca ...
https://man.mtool.work/django/6.1/releases/6.1.html
メッセージフレームワーク 8300
メッセージフレームワーク Web アプリケーションでは非常に一般的に、フォームやその他のユーザーインプットのプロセスの後、ユーザーに向けて一過性の通知メッセージ ("フラッシュメッセージ" とも言われます) を表示する必要があります。 Django は、anonym ... " , 50 : "critical" , } ビューとテンプレートでメッセージを使う add_message ( request , level , message , extra_tags = '' , fail_silently = False ) [ソース] メッセージを付与する メッセージを付与するには、以下を呼び出してください: from django.contrib i ... いており、メッセージング機能を含めたいが、利用者に無理に有効化させたくない場合は、任意の add_message ファミリーのメソッドに fail_silently=True という追加のキーワード引数を渡すことができます。たとえば: messages . add_message ( request , messages . SUCC ... ESS , "Profile details updated." , fail_silently = True , ) messages . info ( request , "Hello world." , fail_silently = True ) 注釈 fail_silently=True を設定する ...
https://man.mtool.work/django/6.1/ref/contrib/messages.html
Django 1.7.6 リリースノート 8066
Django 1.7.6 リリースノート March 9, 2015 Django 1.7.6 fixes a security issue and several bugs in 1.7.5. Mitigated an XSS attack via properties in ModelAdmin.readonly_fields The ModelAdmin.readonly_fields attribute in the Django admin allow ... his vulnerability, every model attribute used in readonly_fields that is not an actual model field (e.g. a property ) will fail to be escaped even if that attribute is not marked as safe. In this release, autoescaping is now correctly applied. バグ修 ...
https://man.mtool.work/django/6.1/releases/1.7.6.html
Django 1.4.8 リリースノート 7988
Django 1.4.8 リリースノート September 14, 2013 Django 1.4.8 fixes two security issues present in previous Django releases in the 1.4 series. Denial-of-service via password hashers In previous versions of Django, no limit was imposed on the ... of the corresponding hash. As of 1.4.8, Django's authentication framework imposes a 4096-byte limit on passwords and will fail authentication with any submitted password of greater length. Corrected usage of sensitive_post_parameters() in django.con ...
https://man.mtool.work/django/6.1/releases/1.4.8.html
Django 1.5.4リリースノート 7910
Django 1.5.4リリースノート September 14, 2013 This is Django 1.5.4, the fourth release in the Django 1.5 series. It addresses two security issues and one bug. Denial-of-service via password hashers In previous versions of Django, no limit w ... of the corresponding hash. As of 1.5.4, Django's authentication framework imposes a 4096-byte limit on passwords, and will fail authentication with any submitted password of greater length. Corrected usage of sensitive_post_parameters() in django.con ...
https://man.mtool.work/django/6.1/releases/1.5.4.html
Unit tests 7832
Unit tests Django comes with a test suite of its own, in the tests directory of the code base. It's our policy to make sure all tests pass at all times. We appreciate any and all contributions to the test suite! The Django tests all use the ... e trouble installing an optional test dependency, you can skip that dependency locally. For example, if installing pylibmc fails, comment out its line in requirements/py3.txt and continue with ./runtests.py . Tests that require pylibmc will be skippe ... c to a particular database backend and will be skipped if run with a different backend. Some tests are skipped or expected failures on a particular database backend (see DatabaseFeatures.django_test_skips and DatabaseFeatures.django_test_expected_fai ... s . For example, tests for contrib.auth are located in tests/auth_tests . トラブルシューティング Test suite hangs or shows failures on main branch Ensure you have the latest point release of a supported Python version , since there are often bugs in ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/unit-tests...
Django 1.9.5 リリースノート 7832
Django 1.9.5 リリースノート April 1, 2016 Django 1.9.5 では、1.9.4 にあったいくつかのバグを修正しました。 バグ修正 Made MultiPartParser ignore filenames that normalize to an empty string to fix crash in MemoryFileUploadHandler on specially ... ngo. Fixed a memory leak in the cached template loader ( #26306 ). Fixed a regression that caused collectstatic --clear to fail if the storage doesn't implement path() ( #26297 ). Fixed a crash when using a reverse lookup with a subquery when a Forei ... aining a ForeignKey to 'self' ( #26384 ). Fixed JSONField inadvertently escaping its contents when displaying values after failed form validation ( #25532 ). ...
https://man.mtool.work/django/6.1/releases/1.9.5.html
Django 1.6 リリースノート 7754
Django 1.6 リリースノート 注釈 Dedicated to Malcolm Tredinnick On March 17, 2013, the Django project and the free software community lost a very dear friend and developer. Malcolm was a long-time contributor to Django, a model community mem ... to force saving to use the old algorithm. マイナーな機能 Authentication backends can raise PermissionDenied to immediately fail the authentication chain. The HttpOnly flag can be set on the CSRF cookie with CSRF_COOKIE_HTTPONLY . The assertQuerysetEq ... ore likely to happen with SQLite, since it didn't support savepoints until this release. If tests using assertNumQueries() fail because of a higher number of queries than expected, check that the extra queries are related to savepoints, and adjust th ... a method when rendering a template, it is not silenced. For example, {{ obj.view_href }} will cause template rendering to fail if view_href() raises NoReverseMatch . There is no change to the {% url %} tag, it causes template rendering to fail like ...
https://man.mtool.work/django/6.1/releases/1.6.html
PREV 1 2 3 4 NEXT