per page, with , order by , clip by
Results of 1 - 10 of about 11 for regex (0.004 sec.)
バリデータ (Validator) 14065
バリデータ (Validator) バリデータを記述する バリデータ (validator) は呼び出し可能なオブジェクトで、値を受け取り、ある基準を満たしていない場合に ValidationError を発生させます。バリデータは異なるタイプのフィールド間でバリデーションロジックを ... d ( validators = [ validate_even ]) より複雑なバリデータに対しては、クラスで __call__() メソッドを利用することもできます。 RegexValidator はその一例で、このテクニックを使っています。クラスベースのバリデータが validators モデルフィールドのオプション内で ... ますが、作成したフィールドで使用することもできます。 追加で使うことも、 field.clean() メソッドの代わりに使うことも可能です。 RegexValidator class RegexValidator ( regex = None , message = None , code = None , inverse_match = None , flags = 0 ) [ソース] ... パラメータ : regex -- None 以外の場合、 regex をオーバーライドします。正規表現の文字列か、コンパイル済みの正規表現を指定します。 message -- N ...
https://man.mtool.work/django/6.1/ref/validators.html
Django 2.0.7 リリースノート 9833
Django 2.0.7 リリースノート 2018年7月2日 Django 2.0.7 では、2.0.6 にあったいくつかのバグを修正しました。 バグ修正 Fixed admin changelist crash when using a query expression without asc() or desc() in the page's ordering ( #29428 ). Fixed ad ... min check crash when using a query expression in ModelAdmin.ordering ( #29428 ). Fixed __regex and __iregex lookups with MySQL 8 ( #29451 ). Fixed migrations crash with namespace packages on Python 3.7 ( #28814 ). ...
https://man.mtool.work/django/6.1/releases/2.0.7.html
Django 2.0.8 リリースノート 9371
Django 2.0.8 リリースノート 2018年8月1日 Django 2.0.8 では、2.0.7 にあった1つのセキュリティの問題と、いくつかのバグを修正しました。 CVE-2018-14574: CommonMiddleware に対するオープンリダイレクトの可能性 If the CommonMiddleware and the APPEND ... escapes leading slashes to prevent redirects to other domains. バグ修正 Fixed a regression in Django 2.0.7 that broke the regex lookup on MariaDB (even though MariaDB isn't officially supported) ( #29544 ). Fixed a regression where django.template.Te ...
https://man.mtool.work/django/6.1/releases/2.0.8.html
Django 1.4.11 リリースノート 8624
Django 1.4.11 リリースノート April 21, 2014 Django 1.4.11 fixes three security issues in 1.4.10. Additionally, Django's vendored version of six, django.utils.six , has been upgraded to the latest release (1.6.1). Unexpected code execution u ... sing reverse() Django's URL handling is based on a mapping of regex patterns (representing the URLs) to callable views, and Django's own processing consists of matching a requested URL again ...
https://man.mtool.work/django/6.1/releases/1.4.11.html
Django 1.5.6 リリースノート 8624
Django 1.5.6 リリースノート April 21, 2014 Django 1.5.6 fixes several bugs in 1.5.5, including three security issues. Unexpected code execution using reverse() Django's URL handling is based on a mapping of regex patterns (representing the ...
https://man.mtool.work/django/6.1/releases/1.5.6.html
Django 1.6.3 リリースノート 8321
Django 1.6.3 リリースノート April 21, 2014 Django 1.6.3 fixes several bugs in 1.6.2, including three security issues, and makes one backwards-incompatible change: Unexpected code execution using reverse() Django's URL handling is based on a ... mapping of regex patterns (representing the URLs) to callable views, and Django's own processing consists of matching a requested URL again ...
https://man.mtool.work/django/6.1/releases/1.6.3.html
索引 8019
索引 記号 | _ | 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 コマン ... ラス) Coalesce (django.db.models.functions のクラス) code (EmailValidator の属性) (ProhibitNullCharactersValidator の属性) (RegexValidator の属性) codename (models.Permission の属性) coerce (TypedChoiceField の属性) Collate (django.db.models.functions ... has_key hstorefield.has_keys hstorefield.key hstorefield.keys hstorefield.values icontains iendswith iexact in intersects iregex isempty isnull iso_week_day iso_year istartswith isvalid jsonfield.contained_by jsonfield.contains jsonfield.has_any_keys ... inf rangefield.not_gt rangefield.not_lt rangefield.overlap rangefield.startswith rangefield.upper_inc rangefield.upper_inf regex relate right same_as search second startswith strictly_above strictly_below time touches trigram_similar trigram_strict_wo ...
https://man.mtool.work/django/6.1/genindex.html
URL ディスパッチャ 8019
URL ディスパッチャ すっきりした、簡潔で明解な URL スキームは、高品質な Web アプリケーションでは重要な要素です。 Django では、フレームワークの制限なしに、望み通りの URL を設計できます。 URL はすっきりした扱いやすいものにすべきであるという主張 ... 雑なマッチング要件については、独自のパスコンバータを定義できます。 コンバーターとは、以下のようなクラスです: 文字列としての regex クラス属性を持ちます。 to_python(self, value) メソッドで、マッチした文字列をビュー関数に渡す型に変換します。与えられた値を ... Error はマッチしないと解釈され、結果として reverse() は NoReverseMatch を発生させます。 例: class FourDigitYearConverter : regex = "[0-9] {4} " def to_python ( self , value ): return int ( value ) def to_url ( self , value ): return " %04d " % value r ...
https://man.mtool.work/django/6.1/topics/http/urls.html
PostgreSQL 固有のモデルフィールド 7717
PostgreSQL 固有のモデルフィールド これらのフィールドは全て django.contrib.postgres.fields モジュールから利用できます。 これらのフィールドにインデックスを付ける Index と Field.db_index は両方とも B-tree インデックスを作成しますが、複雑なデー ... アップを使用する必要があります。 注釈 キーのトランスフォームは、 contains 、 icontains 、 endswith 、 iendswith 、 iexact 、 regex 、 iregex 、 startswith 、および istartswith ルックアップとも連結できます。 警告 どのような文字列でも hstore 値のキーになり ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/fields.html
フォーム フィールド 7557
フォーム フィールド class Field [ソース] Form クラスを作成時の一番重要な部分は、form のフィールド (field) の定義です。各フィールドにはカスタムの検証ロジックがあり、他にいくつかのフックもあります。 Field. clean ( value ) [ソース] Field クラス ... 用できます。 NullBooleanField ( widget = Select ( choices = [ ( "" , "Unknown" ), ( True , "Yes" ), ( False , "No" ), ] ) ) RegexField class RegexField ( ** kwargs ) [ソース] デフォルトのウィジェット: TextInput 空の値: empty_value として指定したものです ... 。 正規化後の値: 文字列になります。 RegexValidator を使用して、与えられた値が特定の正規表現と一致するかどうかを検証します。 エラーメッセージのキー: required 、 inva ... lid 1つの必須引数を取ります: regex 文字列またはコンパイルされた正規表現オブジェクトとして指定される正規表現。 max_length 、 min_length 、 strip 、および empt ...
https://man.mtool.work/django/6.1/ref/forms/fields.html
PREV 1 2 NEXT