Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #1081
Duplicate of #2665 because creating a new branch was easier than fixing that one
This list below shows which classes still need to be implemented.
The last two are difficult because they have querysets that contain the actual data that needs to be exported. Registrations in case of Event and Payments in case of Batch. Also, the current event exporter has a lot of additional logic, which makes it difficult to define a resource class for it.
How to test: go to the admin page and navigate to one of the items on the list. Then in the dropdown there will be an option to export, where you can also choose the export file type. One exception is the export for users. This one allows two types of exports (UserList and UserEmailList). This is a fairly new feature of the library and does not (yet) support the inline dropdown that the other one uses. Instead, there is an export button that brings you to a separate page.
User export
Other export