... 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 ... ... 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 ... ... ge's ordering ( #29428 ). Fixed admin 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 ). 目次 ... ーワード Fixed crash バグ 修正 admin using query expression ordering リリースノート changelist without desc check ModelAdmin regex iregex lookups MySQL migrations namespace packages クイック検索 Last update: 2026年10月09日 « previous | up | next » ... ... ge's ordering ( #29428 ). Fixed admin 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 ). 目次 ... go バグ 修正 admin using query expression ordering リリースノート いくつ changelist without asc desc page check ModelAdmin regex 関連するページ Django 3.1.2 リリースノート Django 3.2.1 リリースノート Django 1.9.7 リリースノート Django 1.11.1 リリースノ ... ... scapes 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 ... ... scapes 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 ... ... to the latest release (1.6.1). 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 ... ... ing 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 ... ... to the latest release (1.6.1). 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 ... ... ing 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 ... 2026年10月08日