PurdueElectricRacing / FullSend

Automated email service for the Purdue Electric Racing team.
https://full-send.herokuapp.com
0 stars 1 forks source link

Adjust gists to not require hard coding #37

Open RyanSchw opened 5 years ago

RyanSchw commented 5 years ago

Any email template currently requires a subject in content map: (api/googleservice.py)

subject_map = {
    'welcome': 'Thanks for filling out our interest form!',
    'acceptance': 'Welcome to Purdue Electric Racing!',
}

content_map = {
    'welcome': 'welcome.html',
    'acceptance': 'acceptance.html',
}

Both of these can be done in the gist itself.