Skip to content

Commit

Permalink
Merge a7eba8a into 7e99262
Browse files Browse the repository at this point in the history
  • Loading branch information
vaidap committed Jun 19, 2017
2 parents 7e99262 + a7eba8a commit 45c0a53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions zerver/views/test_emails.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def email_page(request):
},
'referrer_name': 'Road Runner',
'referrer_email': 'runner@acme.com',
'referrer_realm_name': 'Acme Corporation',
'realm_uri': realm.uri,
'server_uri': settings.SERVER_URI,
'old_email': 'old_address@acme.com',
Expand Down
2 changes: 2 additions & 0 deletions zproject/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ def get_secret(key):
})
non_html_template_engine_settings['OPTIONS'].update({
'autoescape': False,
'trim_blocks': True,
'lstrip_blocks': True,
})

# The order here is important; get_template and related/parent functions try
Expand Down

0 comments on commit 45c0a53

Please sign in to comment.