... dating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link. AdminURLFieldWidget now validates the prov ... ... it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link. AdminURLFieldWidget now validates the prov ... ... thout validating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link. AdminURLFieldWidget now validates the prov ... ... custom Task subclass with additional attributes. options A dictionary of extra parameters for the Task backend. These are provided using the OPTIONS setting. enqueue ( task , args , kwargs ) [ソース] Task backends which subclass BaseTaskBackend should i ... lt ( result_id ) The async variant of BaseTaskBackend.get_result() . validate_task ( task ) [ソース] Validates whether the provided Task is able to be enqueued using the backend. If the Task is not valid, InvalidTask is raised. Feature flags Some backend ... d when the requested BaseTaskBackend is invalid. exception TaskResultDoesNotExist [ソース] Raised by get_result() when the provided result_id does not exist. exception TaskResultMismatch [ソース] Raised by get_result() when the provided result_id is for ... ... reparation methods whether generic value preparation has been performed. If an unprepared (i.e., prepared=False ) value is provided to the get_db_prep_*() calls, they should invoke the corresponding get_prep_*() calls to perform generic data preparation. ... We've provided conversion functions that will transparently convert functions adhering to the old prototype into functions compatible wit ... ackend Prior to the creation of the separate spatial backends, the django.contrib.gis.db.backend.SpatialBackend object was provided as an abstraction to introspect on the capabilities of the spatial database. All of the attributes and routines provided b ... ... dels having more than one foreign key to any of the models participating in a many-to-many relationship are now permitted, provided you explicitly specify which foreign keys should be used by setting the new ManyToManyField.through_fields argument. Assig ... ionError should be raised when the regular expression pattern matches ( True ) or does not match ( False , by default) the provided value . The flags attribute sets the flags used when compiling a regular expression string. URLValidator now accepts an op ... details. django.utils.translation.parse_accept_lang_header() now returns lowercase locales, instead of the case as it was provided. As locales should be treated case-insensitive this allows us to speed up locale detection. django.utils.translation.get_l ... ... it'll perform its lookup using both the primary key and the slug. The get_form() method doesn't require a form_class to be provided anymore. If not provided form_class defaults to get_form_class() . Placeholders in ModelFormMixin.success_url now support ... e. add() , remove() , clear() , and direct assignment) now perform their data modifying queries from within a transaction, provided your database supports transactions. This has one backwards incompatible side effect, signal handlers triggered from these ... object() method (private API) now takes a third argument named from_field in order to specify which field should match the provided object_id . The ModelAdmin.response_delete() method now takes a second argument named obj_id which is the serialized ident ... ... y policy . CVE-2026-87890: Potential request forgery via spatial lookup byte values Spatial lookups accepted raster values provided as bytes without requiring them to be explicitly wrapped in GDALRaster . Although these values were opened through GDAL's ... bytes directly to a spatial lookup. It was overlooked in the fix for CVE-2026-15307. To mitigate this issue, raster values provided as bytes must now be wrapped in GDALRaster before being used in spatial lookups. Byte values representing valid hexadecima ... ... y policy . CVE-2026-87890: Potential request forgery via spatial lookup byte values Spatial lookups accepted raster values provided as bytes without requiring them to be explicitly wrapped in GDALRaster . Although these values were opened through GDAL's ... bytes directly to a spatial lookup. It was overlooked in the fix for CVE-2026-15307. To mitigate this issue, raster values provided as bytes must now be wrapped in GDALRaster before being used in spatial lookups. Byte values representing valid hexadecima ... ... common views of data without having to write too much code. Analogs of all the old function-based generic views have been provided, along with a completely generic view base class that can be used as the basis for reusable applications that can be easil ... class. Unlike basic HttpResponse objects, TemplateResponse objects retain the details of the template and context that was provided by the view to compute the response. The final output of the response is not computed until it is needed, later in the res ... ableFileInput renders with a checkbox to clear the field's value (if the field has a value and is not required); FileInput provided no means for clearing an existing file from a FileField . ClearableFileInput is now the default widget for a FileField , s ... 2026年10月08日