[#40] Bulk PDF export - backend #90

Merged
mattn merged 1 commit from matt/40-batch-backend into main 2023-02-22 16:41:02 +13:00
mattn commented 2023-02-21 16:46:09 +13:00 (Migrated from gitlab.catalyst.net.nz)

Adds a number of components to the backend to support bulk PDF exports. The workflow is as follows:

  1. User fills out a questionnaire (frontend)
  2. User submits questionnaire which creates Questionnaire object in backend
  3. Multiple other users do the same
  4. Admin accesses Django admin interface and selects some or all Questionnaires
  5. Admin runs export as an admin action
  6. Admin is redirected to list of all Export objects and waits for the associated asynchronous Celery task to complete. Progress is shown in the admin interface
  7. Admin selects an Export to download, which is initiated with another admin action
  8. Admin downloads a zip of all associated PDFs
Adds a number of components to the backend to support bulk PDF exports. The workflow is as follows: 1. User fills out a questionnaire (frontend) 2. User submits questionnaire which creates `Questionnaire` object in backend 3. Multiple other users do the same 4. Admin accesses Django admin interface and selects some or all `Questionnaires` 5. Admin runs export as an [admin action](https://docs.djangoproject.com/en/4.1/ref/contrib/admin/actions/) 6. Admin is redirected to list of all `Export` objects and waits for the associated asynchronous Celery task to complete. Progress is shown in the admin interface 7. Admin selects an `Export` to download, which is initiated with another admin action 8. Admin downloads a zip of all associated PDFs
mattn commented 2023-02-21 16:46:10 +13:00 (Migrated from gitlab.catalyst.net.nz)

assigned to @satoshi

assigned to @satoshi
mattn commented 2023-02-21 16:51:05 +13:00 (Migrated from gitlab.catalyst.net.nz)

changed the description

changed the description
mattn commented 2023-02-22 15:08:56 +13:00 (Migrated from gitlab.catalyst.net.nz)

added 1 commit

Compare with previous version

added 1 commit <ul><li>3f9f816a - [#40] Bulk PDF export</li></ul> [Compare with previous version](/giscore/biosphere-capital/right-tree/-/merge_requests/45/diffs?diff_id=187401&start_sha=601b912d1451617ffcd9e01cb8c194958b81fef7)
satoshi commented 2023-02-22 15:33:52 +13:00 (Migrated from gitlab.catalyst.net.nz)

I can't really review coding details, but followed overall process and it looks good to me

I can't really review coding details, but followed overall process and it looks good to me
satoshi commented 2023-02-22 15:33:56 +13:00 (Migrated from gitlab.catalyst.net.nz)

approved this merge request

approved this merge request
mattn commented 2023-02-22 16:40:49 +13:00 (Migrated from gitlab.catalyst.net.nz)

All good, that's all I need to know for now :)

Thanks for reviewing!

All good, that's all I need to know for now :) Thanks for reviewing!
mattn commented 2023-02-22 16:40:53 +13:00 (Migrated from gitlab.catalyst.net.nz)

resolved all threads

resolved all threads
mattn (Migrated from gitlab.catalyst.net.nz) merged commit into main 2023-02-22 16:41:03 +13:00
satoshi (Migrated from gitlab.catalyst.net.nz) approved these changes 2024-12-18 08:20:26 +13:00
Sign in to join this conversation.
No description provided.