You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/changelog.rst
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,17 @@ Breaking changes
10
10
This release makes the following changes to the API. You may need to update your implementation to accommodate these changes.
11
11
12
12
- Check value of ManyToManyField in skip_row() (#1271)
13
-
- This fixes an issue where ManyToMany fields are not checked correctly in `skip_row()`. This means that `skip_row()` now takes `row` as a mandatory arg. If you have overridden `skip_row()` in your own implementation, you will need to add `row` as an arg.
13
+
- This fixes an issue where ManyToMany fields are not checked correctly in `skip_row()`. This means that `skip_row()` now takes `row` as a mandatory arg. If you have overridden `skip_row()` in your own implementation, you will need to add `row` as an arg.
14
+
15
+
- Refactor admin import to include encoding param (#1306)
16
+
- Admin user interface: If an exception is thrown when attempting to read a file then this error is presented as a form error, instead of being written directly back in the response HTML. If you have any code or process which checks the HTML response for the error (i.e. wrapped in H1 HTML tags) then this will need to be updated to handle the errors which are now returned as form errors.
17
+
- This change also refactors the `tmp_storages` interface. If you have made any changes which call the `tmp_storages` interface, then these will need to be updated.
14
18
15
19
- Use 'create' flag instead of instance.pk (#1362)
16
-
- `import_export.resources.save_instance()` now takes an additional mandatory argument: `is_create`. If you have over-ridden `save_instance()` in your own code, you will need to add this new argument.
20
+
- ``import_export.resources.save_instance()`` now takes an additional mandatory argument: `is_create`. If you have over-ridden `save_instance()` in your own code, you will need to add this new argument.
17
21
18
22
- Add support for multiple resources in ModelAdmin. (#1223)
19
-
20
23
- The `*Mixin.resource_class` accepting single resource has been deprecated (will work for few next versions) and the new `*Mixin.resource_classes` accepting subscriptable type (list, tuple, ...) has been added.
21
-
22
24
- Same applies to all of the `get_resource_class`, `get_import_resource_class` and `get_export_resource_class` methods.
23
25
24
26
- Deprecated `exceptions.py` - this module will be removed in a future release (#1372)
@@ -27,6 +29,7 @@ Enhancements
27
29
############
28
30
29
31
- Updated import.css to support dark mode (#1370)
32
+
- Admin site: Refactored reading bytes from temporary storage to address decoding issues (#1306)
0 commit comments