Skip to content

Commit

Permalink
trying to fix for heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
computerquest committed Oct 3, 2018
1 parent ecd490c commit 3325374
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dj-database-url = "==0.4.2"
"Jinja2" = "==2.10"
Django = "==1.11.9"
Pillow = "==5.1.0"
sendgrid = "*"

[dev-packages]

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ whitenoise==3.3.1
dj-database-url==0.4.2
psycopg2-binary==2.7.4
Pillow==5.1.0
sendgrid==5.6.0
2 changes: 1 addition & 1 deletion website/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def contact(request):
from_email = Email("testemail2081@gmail.com")
to_email = Email("jaredstigter@gmail.com")
subject = "New Contact From Website"
content = Content("text/plain",'what up boys')
content = Content("text/plain", message)
mail = Mail(from_email, subject, to_email, content)
response = sg.client.mail.send.post(request_body=mail.get())

Expand Down

0 comments on commit 3325374

Please sign in to comment.