... ... own documentation , but a few of the key features are: syncdb has been deprecated and replaced by migrate . Don't worry - calls to syncdb will still work as before. A new makemigrations command provides an easy way to autodetect changes to your model ... f applications can be customized in the admin with the verbose_name of application configurations. The admin automatically calls autodiscover() when Django starts. You can consequently remove this line from your URLconf. Django imports all application ... thenticationMiddleware is enabled. See パスワード変更時にセッションを無効化する for more details. django.contrib.formtools Calls to WizardView.done() now include a form_dict to allow easier access to forms by their step name. django.contrib.gis The de ... ... amed to _get_new_session_key() . get_new_session_object() no longer exists. フィクスチャ (fixture) Loading a row no longer calls save() Previously, loading a row automatically ran the model's save() method. This is no longer the case, so any fields (f ... = "mypassword" ) Management commands コードから管理コマンドを実行する django.core.management has been greatly refactored. Calls to management services in your code now need to use call_command . For example, if you have some test code that calls flus ... uiring the sites framework. This only affects code that subclasses Feed and overrides the __init__() method, and code that calls Feed.__init__() directly. Data structures SortedDictFromList is gone django.newforms.forms.SortedDictFromList was removed. ... ... ected by the validator ( #29952 ). Prevented repetitive calls to geos_version_tuple() in the WKBWriter class in an attempt to fix a random crash involving LooseVersion ( #29959 ). Fixe ... ... path context variable is now quoted to fix the issue for custom templates that use the path. バグ修正 Prevented repetitive calls to geos_version_tuple() in the WKBWriter class in an attempt to fix a random crash involving LooseVersion since Django 2.0 ... ... nc mode - but it is entirely your choice. Django's ORM, cache layer, and other pieces of code that do long-running network calls do not yet support async access. We expect to add support for them in upcoming releases. Async views are ideal, however, i ... f you are doing a lot of API or HTTP calls inside your view, you can now natively do all those HTTP calls in parallel to considerably speed up your view's execution. ... of django-admin . The HttpRequest.is_ajax() method is deprecated as it relied on a jQuery-specific way of signifying AJAX calls, while current usage tends to use the JavaScript Fetch API . Depending on your use case, you can either write your own AJA ... ... only the outermost call to atomic() sets up a transaction and thus sets the time that TransactionNow() will return; nested calls create savepoints which do not affect the transaction time. 使用例: >>> from django.contrib.postgres.functions import Tran ... ... corresponding striptags template filter, which was thus also vulnerable. strip_tags() now has an upper limit of recursive calls to HTMLParser before raising a SuspiciousOperation exception. Remember that absolutely NO guarantee is provided about the ... ... corresponding striptags template filter, which was thus also vulnerable. strip_tags() now has an upper limit of recursive calls to HTMLParser before raising a SuspiciousOperation exception. Remember that absolutely NO guarantee is provided about the ... ... e 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 log ... 2026年10月08日