Further production updates
- add collectstatic job to docker-compose.yaml - remove old dev script - add a recipe for building the frontend distributable - fix nginx location for react-router endpoints - fix bug in tasks.py
This commit is contained in:
parent
7e505ad493
commit
00afd05abb
6 changed files with 42 additions and 143 deletions
|
@ -34,9 +34,9 @@ def generate_pdf(questionnaire_id, export_id):
|
|||
else:
|
||||
if not storage.exists(filename):
|
||||
raise FileNotFoundError(f"There was an error creating file: {filename}")
|
||||
finally:
|
||||
if e.completion >= 1:
|
||||
generate_zip.delay(export_id)
|
||||
|
||||
if e.completion >= 1:
|
||||
generate_zip.delay(export_id)
|
||||
|
||||
|
||||
@shared_task
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue