Konflikt resen
This commit is contained in:
@@ -2,6 +2,7 @@ from celery import shared_task
|
||||
from backend.core.models import Organization, Document, Risk, Control, DocumentRiskControl
|
||||
from backend.core.utils import get_top_risk, get_controls_for_risk
|
||||
from django.shortcuts import get_object_or_404, render
|
||||
from .utils import send_payment_email
|
||||
|
||||
|
||||
@shared_task
|
||||
@@ -49,4 +50,7 @@ def create_document_for_organization(confirmation_email):
|
||||
|
||||
controls_content += "\n"
|
||||
|
||||
document.add_segment('body', controls_content)
|
||||
document.add_segment('body', controls_content)
|
||||
|
||||
|
||||
send_payment_email(confirmation_email)
|
||||
Reference in New Issue
Block a user