... sername> above) to capture part of the URL and send it as a keyword argument to the view. The angle brackets may include a converter specification (like the int part of <int:section> ) which limits the characters matched and may also change the type of th ... ン名前空間 他の URLconfs をインクルードする および URLの名前空間とインクルードされた URLconfs を参照してください。 register_converter() ¶ register_converter ( converter , type_name ) [ソース] ¶ The function for registering a converter for use in path() rou ... te s. converter 引数はコンバータークラスであり、 type_name はパスパターンで使用するコンバーター名です。例については 独自のパスコンバータを ... ... sername> above) to capture part of the URL and send it as a keyword argument to the view. The angle brackets may include a converter specification (like the int part of <int:section> ) which limits the characters matched and may also change the type of th ... ン名前空間 他の URLconfs をインクルードする および URLの名前空間とインクルードされた URLconfs を参照してください。 register_converter() ¶ register_converter ( converter , type_name ) [ソース] ¶ The function for registering a converter for use in path() rou ... te s. converter 引数はコンバータークラスであり、 type_name はパスパターンで使用するコンバーター名です。例については 独自のパスコンバータを ... ... t support for partial indexes or set DatabaseFeatures.supports_partial_indexes to False . DatabaseIntrospection.table_name_converter() and column_name_converter() are removed. Third party database backends may need to instead implement DatabaseIntrospecti ... on.identifier_converter() . In that case, the constraint names that DatabaseIntrospection.get_constraints() returns must be normalized by identifi ... er_converter() . SQL generation for indexes is moved from Index to SchemaEditor and these SchemaEditor methods are added: _create_prima ... ... t support for partial indexes or set DatabaseFeatures.supports_partial_indexes to False . DatabaseIntrospection.table_name_converter() and column_name_converter() are removed. Third party database backends may need to instead implement DatabaseIntrospecti ... on.identifier_converter() . In that case, the constraint names that DatabaseIntrospection.get_constraints() returns must be normalized by identifi ... er_converter() . SQL generation for indexes is moved from Index to SchemaEditor and these SchemaEditor methods are added: _create_prima ... ... ります。 ValueError はマッチしないと解釈され、結果として reverse() は NoReverseMatch を発生させます。 例: class FourDigitYearConverter : regex = "[0-9] {4} " def to_python ( self , value ): return int ( value ) def to_url ( self , value ): return " %04d " % ... value register_converter() : を使用して、URLconf にカスタムコンバータクラスを登録します: from django.urls import path , register_converter from . i ... mport converters , views register_converter ( converters . FourDigitYearConverter , "yyyy" ) urlpatterns = [ path ( "articles/2003/" , vie ... ... ります。 ValueError はマッチしないと解釈され、結果として reverse() は NoReverseMatch を発生させます。 例: class FourDigitYearConverter : regex = "[0-9] {4} " def to_python ( self , value ): return int ( value ) def to_url ( self , value ): return " %04d " % ... value register_converter() : を使用して、URLconf にカスタムコンバータクラスを登録します: from django.urls import path , register_converter from . i ... mport converters , views register_converter ( converters . FourDigitYearConverter , "yyyy" ) urlpatterns = [ path ( "articles/2003/" , vie ... ... o review the implementation on the backends that Django includes for reference ( #24245 ). Registering a global adapter or converter at the level of the DB-API module to handle time zone information of datetime values passed as query parameters or returne ... with other libraries. The recommended way to add a time zone to datetime values fetched from the database is to register a converter for DateTimeField in DatabaseOperations.get_db_converters() . The needs_datetime_string_cast database feature was removed. ... Database backends that set it must register a converter instead, as explained above. The DatabaseOperations.value_to_db_<type>() methods were renamed to adapt_<type>field_value() ... ... robust and faster operation, but there may be small differences in the output. ドキュメント化されていなかった django.urls.converters.get_converter() 関数が削除されました。 SQLite の最小サポートバージョンが 3.27.0 から 3.31.0 に引き上げられました。 name な ... o.contrib.gis.gdal.OGRGeometry.coord_dim は非推奨になりました。代わりに set_3d() を使用してください。 django.urls.register_converter() による既存のコンバータのオーバーライドは非推奨になりました。 CheckConstraint の check キーワード引数は非推奨となり、代わ ... ... o review the implementation on the backends that Django includes for reference ( #24245 ). Registering a global adapter or converter at the level of the DB-API module to handle time zone information of datetime values passed as query parameters or returne ... with other libraries. The recommended way to add a time zone to datetime values fetched from the database is to register a converter for DateTimeField in DatabaseOperations.get_db_converters() . The needs_datetime_string_cast database feature was removed. ... Database backends that set it must register a converter instead, as explained above. The DatabaseOperations.value_to_db_<type>() methods were renamed to adapt_<type>field_value() ... ... robust and faster operation, but there may be small differences in the output. ドキュメント化されていなかった django.urls.converters.get_converter() 関数が削除されました。 SQLite の最小サポートバージョンが 3.27.0 から 3.31.0 に引き上げられました。 name な ... o.contrib.gis.gdal.OGRGeometry.coord_dim は非推奨になりました。代わりに set_3d() を使用してください。 django.urls.register_converter() による既存のコンバータのオーバーライドは非推奨になりました。 CheckConstraint の check キーワード引数は非推奨となり、代わ ... 2026年10月08日