snypy / snypy-backend

REST API and Admin UI of SnyPy
MIT License
12 stars 4 forks source link

Data export / import #124

Open nezhar opened 1 year ago

nezhar commented 1 year ago

This should be the base for implementing https://github.com/snypy/snypy-frontend/issues/1508

This feature should allow to export all data visible in the current filter. The export should contain all snippets, labels (related to the exported snippets) and files (related to the exported snippets) and created as a json file.

The import function should allow to import a generated export in the personal scope or the team scope. All snippets are assigned to the user that starts the import.

nezhar commented 1 month ago

We integrate this using https://github.com/django-import-export/django-import-export