per page, with , order by , clip by
Results of 1 - 10 of about 34 for validators (0.004 sec.)
Django 1.7.9 リリースノート 12318
Django 1.7.9 リリースノート July 8, 2015 Django 1.7.9 fixes several security issues and bugs in 1.7.8. Denial-of-service possibility by filling session store In previous versions of Django, the session backends created a new empty record in ... check whether the same vulnerability is present in their backend and correct it if so. Header injection possibility since validators accept newlines in input Some of Django's built-in validators ( EmailValidator , most seriously) didn't prohibit newline c ... nse and the mail sending utilities in django.core.mail prohibit newlines in HTTP and SMTP headers, respectively. While the validators have been fixed in Django, if you're creating HTTP responses or email messages in other ways, it's a good idea to ensure t ... wever, as of Django 1.6 the GenericIPAddresseField , IPAddressField , SlugField , and URLField form fields which use these validators all strip the input, so the possibility of newlines entering your data only exists if you are using these validators outsi ...
https://man.mtool.work/django/6.1/releases/1.7.9.html
Djangoにおけるパスワード管理 11232
Djangoにおけるパスワード管理 パスワード管理は一般的に、不必要に再発明されるべきではないものです。Djangoはユーザーのパスワードを管理するための安全で柔軟なツールセットを提供するよう努めています。このドキュメントでは、Djangoがパスワードを保存す ... バックを定義します。バリデータは、動作を細かく指定するためのオプション設定を持つこともできます。 妥当性検証は AUTH_PASSWORD_VALIDATORS の設定で管理されます。設定のデフォルトは、空のリストになってます。これは、ひとつもバリデータが適用されていないことを意味し ... きない、パスワードを弱めうる多くの要素があります。 パスワードの妥当性検証を有効にする パスワードの妥当性検証は AUTH_PASSWORD_VALIDATORS で構成されます: AUTH_PASSWORD_VALIDATORS = [ { "NAME" : "django.contrib.auth.password_validation.UserAttributeSimilarityVa ... す。 NumericPasswordValidator には設定はありません。 パスワードバリデーションのヘルプテキストとエラーは、常に AUTH_PASSWORD_VALIDATORS に記載されているソート順に返されます。 Django に含まれるバリデータ Django には 4 つのバリデータがあります: class MinimumLe ...
https://man.mtool.work/django/6.1/topics/auth/passwords.html
フォームとフィールドのバリデーション 11104
フォームとフィールドのバリデーション フォームのバリデーションは、データがクリーニング (clean) されるときに実行されます。このプロセスをカスタムしたい場合は、様々な箇所に変更を加えることができ、それぞれが違う目的を持っています。クリーニング方 ... 合、メソッドはクリーニングされた (標準化された) データを Python オブジェクトとして返すはずです。 ほとんどのバリデーションは validators を使用して行うことができます。これは再利用できるヘルパーです。バリデーション用の関数(または呼び出し可能オブジェクト)は、 ... バリデータに記述したくないバリデーションロジックを実行するためには、このメソッドをオーバーライドしてください。 Field の run_validators() メソッドはフィールドのバリデータをすべて実行し、すべてのエラーを単一の ValidationError に統合します。このメソッドをオーバ ... ーライドする必要はないはずです。 Field サブクラスの clean() メソッドは、 to_python() 、 validate() 、 run_validators() を正しい順序で実行し、エラーを伝達する役目を負っています。もしこの過程のどこかで ValidationError が投げられた場合、バリデ ...
https://man.mtool.work/django/6.1/ref/forms/validation.html
Django 1.8.3 リリースノート 10625
Django 1.8.3 リリースノート July 8, 2015 Django 1.8.3 fixes several security issues and bugs in 1.8.2. Also, django.utils.deprecation.RemovedInDjango20Warning was renamed to RemovedInDjango110Warning as the version roadmap was revised to 1. ... check whether the same vulnerability is present in their backend and correct it if so. Header injection possibility since validators accept newlines in input Some of Django's built-in validators ( EmailValidator , most seriously) didn't prohibit newline c ... nse and the mail sending utilities in django.core.mail prohibit newlines in HTTP and SMTP headers, respectively. While the validators have been fixed in Django, if you're creating HTTP responses or email messages in other ways, it's a good idea to ensure t ... wever, as of Django 1.6 the GenericIPAddresseField , IPAddressField , SlugField , and URLField form fields which use these validators all strip the input, so the possibility of newlines entering your data only exists if you are using these validators outsi ...
https://man.mtool.work/django/6.1/releases/1.8.3.html
Django 1.4.21 リリースノート 10145
Django 1.4.21 リリースノート July 8, 2015 Django 1.4.21 fixes several security issues in 1.4.20. Denial-of-service possibility by filling session store In previous versions of Django, the session backends created a new empty record in the s ... check whether the same vulnerability is present in their backend and correct it if so. Header injection possibility since validators accept newlines in input Some of Django's built-in validators ( EmailValidator , most seriously) didn't prohibit newline c ... nse and the mail sending utilities in django.core.mail prohibit newlines in HTTP and SMTP headers, respectively. While the validators have been fixed in Django, if you're creating HTTP responses or email messages in other ways, it's a good idea to ensure t ...
https://man.mtool.work/django/6.1/releases/1.4.21.html
索引 9906
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... t_processors モジュール) auth_code() (SpatialReference のメソッド) auth_name() (SpatialReference のメソッド) AUTH_PASSWORD_VALIDATORS setting AUTH_USER_MODEL setting authenticate() (django.contrib.auth モジュール) (ModelBackend のメソッド) (RemoteUserBacke ... angeField (django.contrib.postgres.fields のクラス) (django.contrib.postgres.forms のクラス) DecimalValidator (django.core.validators のクラス) decoder (JSONField の属性) , [1] decompress() (MultiWidget のメソッド) (RangeWidget のメソッド) deconstruct() (F ... ms.BaseRangeField (django.contrib.postgres.fields のクラス) django.contrib.postgres.indexes module django.contrib.postgres.validators module django.contrib.redirects module django.contrib.sessions module django.contrib.sessions.middleware module django.con ...
https://man.mtool.work/django/6.1/genindex.html
Django 2.2.24 リリースノート 9538
Django 2.2.24 リリースノート June 2, 2021 Django 2.2.24 fixes two security issues in 2.2.23. CVE-2021-33203: Potential directory traversal via admindocs Staff members could use the admindocs TemplateDetailView view to check the existence of ... ithin the template root directories can be loaded. CVE-2021-33571: Possible indeterminate SSRF, RFI, and LFI attacks since validators accepted leading zeros in IPv4 addresses URLValidator , validate_ipv4_address() , and validate_ipv46_address() didn't proh ... alues you could suffer from indeterminate SSRF, RFI, and LFI attacks. validate_ipv4_address() and validate_ipv46_address() validators were not affected on Python 3.9.5+. ...
https://man.mtool.work/django/6.1/releases/2.2.24.html
Django 3.1.12 リリースノート 9538
Django 3.1.12 リリースノート June 2, 2021 Django 3.1.12 fixes two security issues in 3.1.11. CVE-2021-33203: Potential directory traversal via admindocs Staff members could use the admindocs TemplateDetailView view to check the existence of ... ithin the template root directories can be loaded. CVE-2021-33571: Possible indeterminate SSRF, RFI, and LFI attacks since validators accepted leading zeros in IPv4 addresses URLValidator , validate_ipv4_address() , and validate_ipv46_address() didn't proh ... alues you could suffer from indeterminate SSRF, RFI, and LFI attacks. validate_ipv4_address() and validate_ipv46_address() validators were not affected on Python 3.9.5+. ...
https://man.mtool.work/django/6.1/releases/3.1.12.html
Django 3.2.4 リリースノート 8819
Django 3.2.4 リリースノート June 2, 2021 Django 3.2.4 では、セキュリティの問題2件と、 3.2.3 におけるいくつかのバグを修正しました。 CVE-2021-33203: Potential directory traversal via admindocs Staff members could use the admindocs TemplateDet ... ithin the template root directories can be loaded. CVE-2021-33571: Possible indeterminate SSRF, RFI, and LFI attacks since validators accepted leading zeros in IPv4 addresses URLValidator , validate_ipv4_address() , and validate_ipv46_address() didn't proh ... alues you could suffer from indeterminate SSRF, RFI, and LFI attacks. validate_ipv4_address() and validate_ipv46_address() validators were not affected on Python 3.9.5+. バグ修正 Fixed a bug in Django 3.2 where a final catch-all view in the admin didn't re ...
https://man.mtool.work/django/6.1/releases/3.2.4.html
バリデータ (Validator) 8691
バリデータ (Validator) バリデータを記述する バリデータ (validator) は呼び出し可能なオブジェクトで、値を受け取り、ある基準を満たしていない場合に ValidationError を発生させます。バリデータは異なるタイプのフィールド間でバリデーションロジックを ... = 0 : raise ValidationError ( _ ( " %(value)s is not an even number" ), params = { "value" : value }, ) これはフィールドの validators 属性を通じて設定できます: from django.db import models class MyModel ( models . Model ): even_field = models . IntegerFiel ... d ( validators = [ validate_even ]) 値はバリデータ実行前に Python に変換されているため、フォームでも同じバリデータを使用できます: from dj ... ango import forms class MyForm ( forms . Form ): even_field = forms . IntegerField ( validators = [ validate_even ]) より複雑なバリデータに対しては、クラスで __call__() メソッドを利用することもできます。 RegexValidator ...
https://man.mtool.work/django/6.1/ref/validators.html
PREV 1 2 3 4 NEXT