Django-CRM
Django-CRM copied to clipboard
Saving any form doesn't redirect to the list view
I am trying to setup the CRM locally. Saving any form doesn't redirect to the list view of the module.
Update: I figured out why it was happening. For the below code block
send_email_to_assigned_user.delay(
recipients,
lead_obj.id,
domain=current_site.domain,
protocol=request.scheme,
)
I think it sends email to the assigned user. However the assign user is not mandatory. so shouldn't it be under an if condition?