... phens to underscores. As a result, even in configurations where reverse proxies carefully strip security-sensitive headers named with hyphens, such a header could be spoofed by supplying a header named with underscores. Under WSGI, it is the responsib ... ... phens to underscores. As a result, even in configurations where reverse proxies carefully strip security-sensitive headers named with hyphens, such a header could be spoofed by supplying a header named with underscores. Under WSGI, it is the responsib ... ... phens to underscores. As a result, even in configurations where reverse proxies carefully strip security-sensitive headers named with hyphens, such a header could be spoofed by supplying a header named with underscores. Under WSGI, it is the responsib ... ... hich runs WSGI applications. Granian needs to be called with the location of a module containing a WSGI application object named application , using the --interface wsgi option. For a typical Django project, invoking Granian would look like: granian m ... ... on, test suite, packaging scripts and other miscellaneous bits. Django's code will be present in your clone as a directory named django . To try out the in-development code with your own applications, place the directory containing your clone on your ... as expired, and so it no longer receives direct maintenance from the Django project. However, that and all other similarly named branches continue to exist, and interested community members have occasionally used them to provide unofficial support for ... ... ees the introduction of several improvements to the Django's caching infrastructure. Firstly, Django now supports multiple named caches. In the same way that Django 1.2 introduced support for multiple database connections, Django 1.3 allows you to use ... the new CACHES setting to define multiple named cache connections. Secondly, versioning , site-wide prefixing and transformation have been added to the cache API. Thirdly ... ut widget in place of ClearableFileInput . For instance, in a ModelForm for a hypothetical Document model with a FileField named document : from django import forms from myapp.models import Document class DocumentForm ( forms . ModelForm ): class Meta ... ... ango 3.0 where RegexPattern , used by re_path() , returned positional arguments to be passed to the view when all optional named groups were missing ( #31061 ). Reallowed, following a regression in Django 3.0, Window expressions to be used in conditio ... ... deprecated path has been removed. バグ修正 Fixed a regression in Django 3.2 that caused a crash of QuerySet.values_list(…, named=True) after prefetch_related() ( #32812 ). Fixed a bug in Django 3.2 that caused a migration crash on MySQL 8.0.13+ when a ... ... ash with another backslash. When a match is made, captured groups from the regular expression are passed to the view -- as named arguments if the groups are named, and as positional arguments otherwise. The values are passed as strings, without any ty ... ... gression in Django 4.0 that caused a crash of makemigrations on models without Meta.order_with_respect_to but with a field named _order ( #33449 ). Fixed a regression in Django 4.0 that caused incorrect ModelAdmin.radio_fields layout in the admin ( #3 ... a default ( #33468 ). Fixed a regression in Django 4.0 that caused a crash of makemigrations when renaming a field of a renamed model ( #33480 ). ... 2026年10月08日