... ... ... s now the real ellipsis character ( … ) instead of 3 dots. You may have to adapt some test output comparisons. Support for bytestring paths in the template filesystem loader is removed. django.utils.http.urlsafe_base64_encode() now returns a string instead ... of a bytestring, and django.utils.http.urlsafe_base64_decode() may no longer be passed a bytestring. Support for cx_Oracle < 6.0 is remove ... ... p_bounds_for_datetime_field Oracle backend method Python 3 compatible ( #22551 ). Fixed pgettext_lazy crash when receiving bytestring content on Python 2 ( #22565 ). Fixed the SQL generated when filtering by a negated Q object that contains a F object. ( # ... ... h if to_attr is set to a ManyToManyField ( #25693 ). Fixed a regression in 1.8 by making gettext() once again return UTF-8 bytestrings on Python 2 if the input is a bytestring ( #25720 ). Fixed serialization of DateRangeField and DateTimeRangeField ( #2493 ... ... date_or_create on related managers causing IntegrityError ( #23611 ). Made urlsafe_base64_decode() return the proper type (bytestring) on Python 3 ( #23333 ). makemigrations can now serialize timezone-aware values ( #23365 ). Added a prompt to the migratio ... ... くつかの場所におけバイト文字列のサポートの削除 To support native Python 2 strings, older Django versions had to accept both bytestrings and Unicode strings. Now that Python 2 support is dropped, bytestrings should only be encountered around input/output bou ... ndaries (handling of binary fields or HTTP streams, for example). You might have to update your code to limit bytestring usage to a minimum, as Django no longer accepts bytestrings in certain code paths. Python's -b option may help detect that ... now uses str() instead of force_text() to coerce the args and kwargs it receives, prior to their placement in the URL. For bytestrings, this creates a string with an undesired b prefix as well as additional quotes ( str(b'foo') is "b'foo'" ). To adapt, cal ... ... n : While the simplejson API is documented as always returning Unicode strings, the optional C implementation can return a bytestring. This was fixed in Python 2.7. simplejson.JSONEncoder gained a namedtuple_as_object keyword argument in version 2.2. More ... safe_summary() methods should accept Unicode parameters ( password , salt or encoded ). If any of the hashing methods need bytestrings, you can use the force_bytes() utility to encode the strings. Validation of previous_page_number and next_page_number Whe ... ... を持ちます: class Response client レスポンスの結果の元となるリクエストを作るために使われた、テストクライアントです。 content Bytestring としてのレスポンスの本文です。ビューないしエラーメッセージによってレンダリングされる際の最終的なページコンテンツです。 con ... 2026年10月08日