... addressed here have been dealt with in prior security updates to Django. In one case, we have received ongoing reports of problems, and in the other we've chosen to take further steps to tighten up Django's code in response to independent discovery of p ... otential problems from multiple sources. Host header poisoning Several earlier Django security releases focused on the issue of poisoning th ... -supplied redirect target is a common pattern). Since then, two independent audits of the code turned up further potential problems. So, similar to the Host-header issue, we are taking steps to provide tighter validation in response to reported problems ... ... addressed here have been dealt with in prior security updates to Django. In one case, we have received ongoing reports of problems, and in the other we've chosen to take further steps to tighten up Django's code in response to independent discovery of p ... otential problems from multiple sources. Host header poisoning Several earlier Django security releases focused on the issue of poisoning th ... -supplied redirect target is a common pattern). Since then, two independent audits of the code turned up further potential problems. So, similar to the Host-header issue, we are taking steps to provide tighter validation in response to reported problems ... ... ... ... ore information, the details are in our ticket tracker (and in a related issue in Python itself). If you've noticed memory problems under Django 1.5, upgrading to 1.5.1 should fix those issues. Django 1.5.1 also includes a couple smaller fixes: Module-le ... ... vere impact on the test performance ( #24251 ) and problems in multi-database setups ( #24298 ). Fixed a regression that prevented custom fields inheriting from ManyToManyField from ... ... he send call in try / except OSError: pass . Note that this ignores both transient network glitches and SMTP configuration problems (just like the existing SMTP email backend fail_silently implementation). To ignore end user typos in to addresses and oth ... er delivery problems, remove the fail_silently argument. Recipient errors are not generally detected at send time, so using fail_silently for t ... his purpose doesn't accomplish anything and could mask other problems like configuration errors. (In local delivery configurations, SMTP servers may report some recipient errors at send time. ... ... oes, we highly recommend switching to JSON-serialized values. Also, as JSON requires string keys, you will likely run into problems if you are using non-string keys in request.session . See the セッションのシリアライズ documentation for more details. ... ... to determine if JSON serialization will work for your application: JSON requires string keys, so you will likely run into problems if you are using non-string keys in request.session . Setting session expiration by passing datetime values to set_expiry( ... ORM is now internally ready for multicolumn foreign keys. General cleanup. These changes can result in some compatibility problems. For example, some queries will now generate different table aliases. This can affect QuerySet.extra() . In addition some ... ide basic reporting of broken links by email when SEND_BROKEN_LINK_EMAILS is set to True . Because of intractable ordering problems between CommonMiddleware and LocaleMiddleware , this feature was split out into a new middleware: BrokenLinkEmailsMiddlewa ... ... check Django's documentation is checked for reStructuredText style and formal issues using sphinx-lint . This helps catch problems like stray tabs, trailing whitespace, excessive line length, and similar formatting problems. Once sphinx-lint is installe ... / $ make lint ...\> make.bat lint The command prints any violations to the terminal in the form path:line: message . If problems are encountered: Read the message and fix the indicated issue (for example, remove trailing whitespace, adjust backticks, ... 2026年10月08日