... es and lots of bug fixes. These release notes cover the new features, as well as important changes you'll want to be aware of when upgrading from Django 1 ... nts . Customization of email sending via email backends . New "smart" if template tag which supports comparison operators. These are just the highlights; full details and a complete list of features may be found below . 参考 Django Advent covered the ... ease of Django 1.2 with a series of articles and tutorials that cover some of the new features in depth. Wherever possible these features have been introduced in a backwards-compatible manner per our API stability policy policy. However, a handful of ... ... es and lots of bug fixes. These release notes cover the new features, as well as important changes you'll want to be aware of when upgrading from Django 1 ... nts . Customization of email sending via email backends . New "smart" if template tag which supports comparison operators. These are just the highlights; full details and a complete list of features may be found below . 参考 Django Advent covered the ... ease of Django 1.2 with a series of articles and tutorials that cover some of the new features in depth. Wherever possible these features have been introduced in a backwards-compatible manner per our API stability policy policy. However, a handful of ... ... fixing it (as measured by your coding ability, knowledge of Django internals and time availability), claim it by following these steps: Log in using your GitHub account or create an account in our ticket system. If you have an account but have forgott ... equest . If you can't send a pull request for some reason, you can also use patches in Trac. When using this style, follow these guidelines. Submit patches in the format returned by the git diff command. Attach patches to a ticket in the ticket tracke ... cket tracker apply correct syntax highlighting, which is quite helpful. Regardless of the way you submit your work, follow these steps. Make sure your code fulfills the requirements in our contribution checklist . Check the "Has patch" box on the tick ... ... fixing it (as measured by your coding ability, knowledge of Django internals and time availability), claim it by following these steps: Log in using your GitHub account or create an account in our ticket system. If you have an account but have forgott ... equest . If you can't send a pull request for some reason, you can also use patches in Trac. When using this style, follow these guidelines. Submit patches in the format returned by the git diff command. Attach patches to a ticket in the ticket tracke ... cket tracker apply correct syntax highlighting, which is quite helpful. Regardless of the way you submit your work, follow these steps. Make sure your code fulfills the requirements in our contribution checklist . Check the "Has patch" box on the tick ... ... 合 2 つ前のバージョンのリリースノートで見つけることができます。 2028 ¶ See the Django 6.0 release notes for more details on these changes. The serialize keyword argument of BaseDatabaseCreation.create_test_db() will be removed. The django.contrib.postg ... tor will no longer be allowed. The django.core.mail APIs will no longer accept certain parameters as positional arguments. These must be passed as keyword arguments instead. Support for passing Python's legacy email email.mime.base.MIMEBase object to ... jango.core.mail.message.sanitize_address() functions will be removed. See the Django 6.1 release notes for more details on these changes. Calling QuerySet.values_list() with flat=True and no field name will raise TypeError . The use of None when query ... ... 合 2 つ前のバージョンのリリースノートで見つけることができます。 2028 ¶ See the Django 6.0 release notes for more details on these changes. The serialize keyword argument of BaseDatabaseCreation.create_test_db() will be removed. The django.contrib.postg ... tor will no longer be allowed. The django.core.mail APIs will no longer accept certain parameters as positional arguments. These must be passed as keyword arguments instead. Support for passing Python's legacy email email.mime.base.MIMEBase object to ... jango.core.mail.message.sanitize_address() functions will be removed. See the Django 6.1 release notes for more details on these changes. Calling QuerySet.values_list() with flat=True and no field name will raise TypeError . The use of None when query ... ... aging pre-commit hooks. These hooks help to identify simple issues before committing code for review. By checking for these issues before code review it ... install ...\> py -m pip install pre-commit ...\> pre-commit install On the first commit pre-commit will install the hooks, these are installed in their own environments and will take a short while to install on the first run. Subsequent checks will be ... de, as this is the line length used by black . Documentation, comments, and docstrings should be wrapped at 79 characters. These limits are checked when flake8 is run. String variable interpolation may use %-formatting , f-strings , or str.format() as ... ... nd django.db.models.signals.post_syncdb have been deprecated, to be replaced by pre_migrate and post_migrate respectively. These new signals have slightly different arguments. Check the documentation for details. The allow_syncdb method on database ro ... lass of this field, including the class name. args : Positional arguments, as a list kwargs : Keyword arguments, as a dict These four values allow any field to be serialized into a file, as well as allowing the field to be copied safely, both essentia ... l parts of these new features. This change should not affect you unless you write custom Field subclasses; if you do, you may need to reimp ... ... ore, Django would remove the header if the request was made by Internet Explorer. To remedy this, the special behavior for these older Internet Explorer versions has been removed, and the Vary header is no longer stripped from the response. In additio ... e.g. django.contrib.auth.views.login() , django.contrib.comments , and i18n ) to redirect the user to an "on success" URL. The security checks for these redirects (namely django.utils.http.is_safe_url() ) did not correctly validate some malformed URLs ... RL parsing. To remedy this, the validation in is_safe_url() has been tightened to be able to handle and correctly validate these malformed URLs. 目次 Django 1.4.13 リリースノート Caches may incorrectly be allowed to store and serve private data Malfor ... ... ore, Django would remove the header if the request was made by Internet Explorer. To remedy this, the special behavior for these older Internet Explorer versions has been removed, and the Vary header is no longer stripped from the response. In additio ... e.g. django.contrib.auth.views.login() , django.contrib.comments , and i18n ) to redirect the user to an "on success" URL. The security checks for these redirects (namely django.utils.http.is_safe_url() ) did not correctly validate some malformed URLs ... RL parsing. To remedy this, the validation in is_safe_url() has been tightened to be able to handle and correctly validate these malformed URLs. 目次 Django 1.5.8 リリースノート Caches may incorrectly be allowed to store and serve private data Malform ... 2026年10月08日