... sn't decorated with login_required() as done in the admin). This could allow an attacker to easily create many new session records by sending repeated requests, potentially filling up the session store or causing other users' session records to be evict ... ed. The SessionMiddleware has been modified to no longer create empty session records, including when SESSION_SAVE_EVERY_REQUEST is active. Additionally, the contrib.sessions.backends.base.SessionBase.flush() ... ... sn't decorated with login_required() as done in the admin). This could allow an attacker to easily create many new session records by sending repeated requests, potentially filling up the session store or causing other users' session records to be evict ... ed. The SessionMiddleware has been modified to no longer create empty session records, including when SESSION_SAVE_EVERY_REQUEST is active. Additionally, the contrib.sessions.backends.base.SessionBase.flush() ... ... sn't decorated with login_required() as done in the admin). This could allow an attacker to easily create many new session records by sending repeated requests, potentially filling up the session store or causing other users' session records to be evict ... ed. The SessionMiddleware has been modified to no longer create empty session records, including when SESSION_SAVE_EVERY_REQUEST is active. バグ修正 Added the ability to serialize values from the newly added ... ... request cookies that didn't already have a session record. This could allow an attacker to easily create many new session records simply by sending repeated requests with unknown session keys, potentially filling up the session store or causing other u ... sers' session records to be evicted. The built-in session backends now create a session record only if the session is actually modified; empty s ... ession records are not created. Thus this potential DoS is now only possible if the site chooses to expose a session-modifying view to an ... ... request cookies that didn't already have a session record. This could allow an attacker to easily create many new session records simply by sending repeated requests with unknown session keys, potentially filling up the session store or causing other u ... sers' session records to be evicted. The built-in session backends now create a session record only if the session is actually modified; empty s ... ession records are not created. Thus this potential DoS is now only possible if the site chooses to expose a session-modifying view to an ... ... request cookies that didn't already have a session record. This could allow an attacker to easily create many new session records simply by sending repeated requests with unknown session keys, potentially filling up the session store or causing other u ... sers' session records to be evicted. The built-in session backends now create a session record only if the session is actually modified; empty s ... ession records are not created. Thus this potential DoS is now only possible if the site chooses to expose a session-modifying view to an ... ... reate() properly initialize model instances on backends, such as PostgreSQL, that support returning the IDs of the created records so that many-to-many relationships can be used on the new objects ( #27026 ). Fixed crash of django.views.static.serve() w ... ... it mode, outside of a transaction. Before Django 1.6, Django's automatic transactions mode allowed this to be used to lock records until the next write operation. Django 1.6 introduced database-level autocommit; since then, execution in such a context v ... ... then obtain a logger instance with logging.getLogger() . Provide the getLogger() method with a name to identify it and the records it emits. A good option is to use __name__ (see ロガーの名前空間を使う below for more on this) which will provide the name ... ... it mode, outside of a transaction. Before Django 1.6, Django's automatic transactions mode allowed this to be used to lock records until the next write operation. Django 1.6 introduced database-level autocommit; since then, execution in such a context v ... 2026年10月08日