... 16: dictsort テンプレートフィルタ内の潜在的な情報漏洩 Due to leveraging the Django Template Language's variable resolution logic, the dictsort template filter was potentially vulnerable to information disclosure or unintended method calls, if passed a ... suitably crafted key. In order to avoid this possibility, dictsort now works with a restricted resolution logic, that will not call methods, nor allow indexing on dictionaries. As a reminder, all untrusted user input should be validat ... ... 16: dictsort テンプレートフィルタ内の潜在的な情報漏洩 Due to leveraging the Django Template Language's variable resolution logic, the dictsort template filter was potentially vulnerable to information disclosure or unintended method calls, if passed a ... suitably crafted key. In order to avoid this possibility, dictsort now works with a restricted resolution logic, that will not call methods, nor allow indexing on dictionaries. As a reminder, all untrusted user input should be validat ... ... 16: dictsort テンプレートフィルタ内の潜在的な情報漏洩 Due to leveraging the Django Template Language's variable resolution logic, the dictsort template filter was potentially vulnerable to information disclosure or unintended method calls, if passed a ... suitably crafted key. In order to avoid this possibility, dictsort now works with a restricted resolution logic, that will not call methods, nor allow indexing on dictionaries. As a reminder, all untrusted user input should be validat ... ... nd urlizetrunc template filters, which were thus vulnerable. The problematic regular expressions are replaced with parsing logic that behaves similarly. CVE-2018-7537: Denial-of-service possibility in truncatechars_html and truncatewords_html template ... ... 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 ... ... nd urlizetrunc template filters, which were thus vulnerable. The problematic regular expressions are replaced with parsing logic that behaves similarly. CVE-2018-7537: Denial-of-service possibility in truncatechars_html and truncatewords_html template ... ... a user to cause an unreasonable number of SQL queries by submitting duplicate values for the field's data. The validation logic in ModelMultipleChoiceField now deduplicates submitted values to address this issue. ... ... a user to cause an unreasonable number of SQL queries by submitting duplicate values for the field's data. The validation logic in ModelMultipleChoiceField now deduplicates submitted values to address this issue. バグ修正 The default iteration count ... ... MessageMixin . In accordance with FormMixin , object deletion for POST requests is handled in form_valid() . Custom delete logic in delete() handlers should be moved to form_valid() , or a shared helper method, as needed. ロギング The alias of the dat ... ome cases. DeleteView changes DeleteView now uses FormMixin to handle POST requests. As a consequence, any custom deletion logic in delete() handlers should be moved to form_valid() , or a shared helper method, if required. Table and column naming sch ... ... のようになるとすると、 from django.http import HttpResponse def my_view ( request ): if request . method == "GET" : # <view logic> return HttpResponse ( "result" ) クラスベースのビューでは以下のようになります。 from django.http import HttpResponse from ... django.views import View class MyView ( View ): def get ( self , request ): # <view logic> return HttpResponse ( "result" ) DjangoのURLリゾルバは、クラスではなく、コール可能な関数にリクエストと関連する引数を送信す ... 2026年10月08日