Skip to content

Commit

Permalink
Disable email
Browse files Browse the repository at this point in the history
  • Loading branch information
bradtraversy committed Oct 1, 2018
1 parent c64c2a0 commit d3f287f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions contacts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ def contact(request):
contact.save()

# Send email
send_mail(
'Property Listing Inquiry',
'There has been an inquiry for ' + listing + '. Sign into the admin panel for more info',
'[email protected]',
[realtor_email, '[email protected]'],
fail_silently=False
)
# send_mail(
# 'Property Listing Inquiry',
# 'There has been an inquiry for ' + listing + '. Sign into the admin panel for more info',
# '[email protected]',
# [realtor_email, '[email protected]'],
# fail_silently=False
# )

messages.success(request, 'Your request has been submitted, a realtor will get back to you soon')
return redirect('/listings/'+listing_id)
Expand Down

0 comments on commit d3f287f

Please sign in to comment.