Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Excel export with new api #843

Merged
merged 21 commits into from
Jan 16, 2024
Merged

Excel export with new api #843

merged 21 commits into from
Jan 16, 2024

Conversation

AlexandreJunod
Copy link
Collaborator

@AlexandreJunod AlexandreJunod commented Jun 19, 2023

Updates

Improved the data returned by the export bouton on the dashboard.
There's more informations, more security and less actions to reach the same result as before.

Here is a quick overview of the changes :

  • Use api updates (serializers), cause there are breaking changes
  • Use pandas to display all son levels
  • Sort selected_forms on different sheets to avoid having too many elements in first line (title)
  • No need to filter entity, form and category to see the fields on the export

geocity/apps/api/serializers.py Outdated Show resolved Hide resolved
geocity/apps/api/serializers.py Outdated Show resolved Hide resolved
geocity/apps/api/serializers.py Outdated Show resolved Hide resolved
geocity/apps/forms/models.py Outdated Show resolved Hide resolved
geocity/apps/forms/models.py Outdated Show resolved Hide resolved
geocity/apps/forms/models.py Outdated Show resolved Hide resolved
geocity/apps/submissions/models.py Outdated Show resolved Hide resolved
geocity/apps/submissions/models.py Outdated Show resolved Hide resolved
geocity/apps/submissions/tables.py Outdated Show resolved Hide resolved
geocity/apps/submissions/views.py Show resolved Hide resolved
@AlexandreJunod AlexandreJunod changed the title Feature/pandas w new api Excel export with new api Jun 21, 2023
@AlexandreJunod AlexandreJunod marked this pull request as ready for review June 22, 2023 12:17
Copy link
Collaborator

@monodo monodo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost there 👍

geocity/apps/submissions/tables.py Outdated Show resolved Hide resolved
geocity/apps/submissions/tables.py Outdated Show resolved Hide resolved
@monodo monodo merged commit c28b1fd into develop Jan 16, 2024
2 checks passed
@monodo monodo deleted the feature/pandas_w_new_api branch January 16, 2024 14:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants