Merge "Note to escape literal $ in invite2summit template"

This commit is contained in:
Jenkins 2015-07-17 00:09:13 +00:00 committed by Gerrit Code Review
commit a2760f8743
1 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,11 @@ You use it like this:
- Copy settings.py.sample to settings.py
- Update values in settings.py, especially *EMAIL_USER*, *EMAIL_FROM*,
*EMAIL_SIGNATURE* and *EMAIL_PASSWORD*
- Note that literal ``$`` characters in the template which are not part
of a substitution variable (such as dollar amounts) should be doubled
to escape them like ``... a $$600-off discount code ...`` so as to
avoid raising *ValueError: Invalid placeholder in string: line <X>,
col <Y>*
- Run a test with ``python send.py atc_sample.csv codes_sample.csv``
Should work on stock Ubuntu.