... つまり、Apache の適切な設定を使うことです。 たとえば、アプリケーションを mod_wsgi で構成する場合、 WSGIDaemonProcess 属性の threads を 1 に設定してください。設定しないと、GeoDjangoアプリケーションを実行しているときにApacheがクラッシュする可能性があります ... ... ermissions when creating directories. In multi-threaded environments, one thread's temporary umask change can affect other threads' file and directory creation, resulting in file system objects being created with unintended permissions. Django now appli ... ... ermissions when creating directories. In multi-threaded environments, one thread's temporary umask change can affect other threads' file and directory creation, resulting in file system objects being created with unintended permissions. Django now appli ... ... ermissions when creating directories. In multi-threaded environments, one thread's temporary umask change can affect other threads' file and directory creation, resulting in file system objects being created with unintended permissions. Django now appli ... ... ns["some_alias"] ) used to be thread-local. They are now global objects in order to be potentially shared between multiple threads. While the individual connection objects are now global, the django.db.connections dictionary referencing those objects is ... hat purely relies on the ORM or on DatabaseWrapper.cursor() . Finally, while it's now possible to pass connections between threads, Django doesn't make any effort to synchronize access to the underlying backend. Concurrency behavior is defined by the un ... res the database connections after tests' execution. This prevents the production database from being exposed to potential threads that would still be running and attempting to create new connections. If your code relied on connections to the production ... ... measured in milliseconds, this is rarely visible in itself, but can become so under GIL contention as the number of active threads grows. If you find yourself wrapping individual rows or operations in a tight loop, restructure your code so the loop runs ... l this from an async context - use a thread or sync_to_async. >>> # Nor can you pass resolved connection attributes across threads: >>> await sync_to_async ( connection . cursor )() django.db.utils.DatabaseError: DatabaseWrapper objects created in a thr ... ... files. The loaddata --ignorenonexistent option now ignores data for models that no longer exist. runserver now uses daemon threads for faster reloading. inspectdb now outputs Meta.unique_together . It is also able to introspect AutoField for MySQL and P ... ting with an SQLite in-memory database when using Python 3.4+ and SQLite 3.7.13+. This allows sharing the database between threads. バリデータ URLValidator now supports IPv6 addresses, Unicode domains, and URLs containing authentication data. Backwards ... ... " : { "assume_role" : "my_application_role" , }, }, } 接続プール Connection pooling allows connections to be reused across threads, reducing connection setup overhead. When enabled, Django maintains a separate pool for each database alias in each proces ... 2026年10月08日