... h app_label s that have the same last part (e.g. django.contrib.auth and vendor.auth ) ( #23483 ). Restored the ability to deepcopy F objects ( #23492 ). Formats for Welsh ( cy ) and several Chinese locales ( zh_CN , zh_Hans , zh_Hant and zh_TW ) have be ... work with both Python 2 and 3 ( #23455 ). Fixed MigrationWriter to handle builtin types without imports ( #23560 ). Fixed deepcopy on ErrorList ( #23594 ). Made the admindocs view to browse view details check if the view specified in the URL exists in t ... ... were using django.newforms.forms.SortedDictFromList . Because django.utils.datastructures.SortedDict.copy doesn't return a deepcopy as SortedDictFromList.copy() did, you will need to update your code if you were relying on a deepcopy. Do this by using co ... py.deepcopy directly. Database backend functions Database backend functions have been renamed Almost all of the database backend-level ... ... pTestData() are now isolated for each test method. Such objects are now required to support creating deep copies with copy.deepcopy() . Assigning objects which don't support deepcopy() is deprecated and will be removed in Django 4.1. DiscoverRunner now e ... om 3.2.10 to 3.3.2. Features deprecated in 3.2 その他 Assigning objects which don't support creating deep copies with copy.deepcopy() to class attributes in TestCase.setUpTestData() is deprecated. Using a boolean value in BaseCommand.requires_system_chec ... ... : function 'GDALAllRegister' not found error when initializing contrib.gis on Windows. Optimizations Changed ModelState to deepcopy fields instead of deconstructing and reconstructing ( #24591 ). This speeds up the rendering of model states and reduces m ... ... ng how to remove usage of these features. Support for assigning objects which don't support creating deep copies with copy.deepcopy() to class attributes in TestCase.setUpTestData() is removed. Support for using a boolean value in BaseCommand.requires_sy ... ... alse を渡すことはできなくなります。 4.1 これらの変更の詳細については、 Django 3.2 リリースノート を参照してください。 copy.deepcopy() を使用して深いコピーを作成できないオブジェクトを TestCase.setUpTestData() のクラス属性に割り当てる機能のサポートは削除さ ... ... a=2&a=3" ) >>> list ( q . values ()) ['3'] 加えて、 QueryDict は以下のメソッドを持ちます: QueryDict. copy () [ソース] copy.deepcopy() を使用してオブジェクトのコピーを返します。このコピーは、元のオブジェクトがイミュータブルであったとしても、ミュータブルで ... ... メリットはなくなります。 Objects assigned to class attributes in setUpTestData() must support creating deep copies with copy.deepcopy() in order to isolate them from alterations performed by each test methods. classmethod TestCase. captureOnCommitCallbacks ... 2026年10月08日