use default reply email on the homepage
This commit is contained in:
@@ -130,7 +130,7 @@ STATICFILES_DIRS = (
|
||||
# the address your emails (save the dates/invites/etc.) will come from
|
||||
DEFAULT_WEDDING_FROM_EMAIL = 'You and Your Partner <happilyeverafter@example.com>'
|
||||
# the default reply-to of your emails
|
||||
DEFAULT_WEDDING_REPLY_EMAIL = DEFAULT_WEDDING_FROM_EMAIL
|
||||
DEFAULT_WEDDING_REPLY_EMAIL = 'happilyeverafter@example.com'
|
||||
|
||||
# when sending test emails it will use this address
|
||||
DEFAULT_WEDDING_TEST_EMAIL = DEFAULT_WEDDING_FROM_EMAIL
|
||||
|
||||
@@ -152,7 +152,7 @@
|
||||
</div>
|
||||
<div class="col-lg-8 col-lg-offset-2 text-center">
|
||||
<i class="fa fa-envelope-o fa-3x wow bounceIn" data-wow-delay=".1s"></i>
|
||||
<p><a href="mailto:hello@coryandro.com">hello@coryandro.com</a></p>
|
||||
<p><a href="mailto:{{ support_email }}">{{ support_email }}</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
from django.conf import settings
|
||||
from django.shortcuts import render
|
||||
from guests.save_the_date import SAVE_THE_DATE_CONTEXT_MAP
|
||||
|
||||
|
||||
def home(request):
|
||||
return render(request, 'home.html', context={
|
||||
'save_the_dates': SAVE_THE_DATE_CONTEXT_MAP
|
||||
'save_the_dates': SAVE_THE_DATE_CONTEXT_MAP,
|
||||
'support_email': settings.DEFAULT_WEDDING_REPLY_EMAIL,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user