... vulnerabilities in two regular expressions. The urlize() function is used to implement the urlize and urlizetrunc template filters, which were thus vulnerable. The problematic regular expressions are replaced with parsing logic that behaves similarly. C ... VE-2018-7537: Denial-of-service possibility in truncatechars_html and truncatewords_html template filters If django.utils.text.Truncator 's chars() and words() methods were passed the html=True argument, they were extremely slow ... r expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus vulnerable. The backtracking problem in the regular expression is fixed. ... ... king vulnerability in a regular expression. The urlize() function is used to implement the urlize and urlizetrunc template filters, which were thus vulnerable. The problematic regular expression is replaced with parsing logic that behaves similarly. CVE ... -2018-7537: Denial-of-service possibility in truncatechars_html and truncatewords_html template filters If django.utils.text.Truncator 's chars() and words() methods were passed the html=True argument, they were extremely slow ... r expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus vulnerable. The backtracking problem in the regular expression is fixed. ... ... vulnerabilities in two regular expressions. The urlize() function is used to implement the urlize and urlizetrunc template filters, which were thus vulnerable. The problematic regular expressions are replaced with parsing logic that behaves similarly. C ... VE-2018-7537: Denial-of-service possibility in truncatechars_html and truncatewords_html template filters If django.utils.text.Truncator 's chars() and words() methods were passed the html=True argument, they were extremely slow ... r expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus vulnerable. The backtracking problem in the regular expression is fixed. バグ修正 Fixed a regression that ... ... OGGING として利用可能で、 django/utils/log.py で定義されています。 { "version" : 1 , "disable_existing_loggers" : False , "filters" : { "require_debug_false" : { "()" : "django.utils.log.RequireDebugFalse" , }, "require_debug_true" : { "()" : "django.ut ... atter" , "format" : "[ {server_time} ] {message} " , "style" : "{" , } }, "handlers" : { "console" : { "level" : "INFO" , "filters" : [ "require_debug_true" ], "class" : "logging.StreamHandler" , }, "django.server" : { "level" : "INFO" , "class" : "logg ... ing.StreamHandler" , "formatter" : "django.server" , }, "mail_admins" : { "level" : "ERROR" , "filters" : [ "require_debug_false" ], "class" : "django.utils.log.AdminEmailHandler" , }, }, "loggers" : { "django" : { "handlers" ... ... ou need in admin pages without having to lose HTML validity or override the provided templates to change the doctype. List filters in admin interface Prior to Django 1.4, the admin app let you specify change list filters by specifying a field lookup, bu ... t it didn't allow you to create custom filters. This has been rectified with a simple API (previously used internally and known as "FilterSpec"). For more details, see t ... See the assertions documentation for more. Two new date format strings Two new date formats were added for use in template filters, template tags and 表示形式のローカライズ : e -- the name of the timezone of the given datetime object o -- the ISO 8601 y ... ... , and deprecated features in the 1.1 branch, see the Django 1.1 リリースノート . Backwards incompatible changes Restricted filters in admin interface The Django administrative interface, django.contrib.admin , supports filtering of displayed lists of ob ... for a user with sufficient knowledge of a model's structure and the format of these lookup arguments to invent useful new filters on the fly by manipulating the querystring. However, it has been demonstrated that this can be abused to gain access to in ... ... l. Added QuerySet methods first() and last() which are convenience methods returning the first or last object matching the filters. Returns None if there are no objects matching. View and RedirectView now support HTTP PATCH method. GenericForeignKey now ... w feature with your custom fields, see the updated recommendation for raising a ValidationError . ModelAdmin now preserves filters on the list view after creating, editing or deleting an object. It's possible to restore the previous behavior of clearing ... filters by setting the preserve_filters attribute to False . Added FormMixin.get_prefix (which returns FormMixin.prefix by default ... ... , and deprecated features in the 1.2 branch, see the Django 1.2 リリースノート . Backwards incompatible changes Restricted filters in admin interface The Django administrative interface, django.contrib.admin , supports filtering of displayed lists of ob ... for a user with sufficient knowledge of a model's structure and the format of these lookup arguments to invent useful new filters on the fly by manipulating the querystring. However, it has been demonstrated that this can be abused to gain access to in ... ... g plural forms in JavaScriptCatalog ( #27418 ). Fixed a regression in the timesince and timeuntil filters that caused incorrect results for dates in a leap year ( #27637 ). Fixed a regression where collectstatic overwrote newer ... ... as the floatformat , filesizeformat , and intcomma templates filters -- received a Decimal with a large number of digits or a large exponent, it could lead to significant memory usage due to ... 2026年10月08日