DescriptionIssue 47: Email substitutions are not working.
The templates for email were designed to be expanded with RequestContext()
so {{SITE_NAME}}, etc. would be available through the processors defined in
common/context_processors.py. However, the templates are instead expanded by
Context() since, I assume, the email functions are not always called from
views that could pass on an HttpRequest object.
I added the local variables needed for template substitution. I changed some
of the subject headings and templates to pass on users' full names more
concistently. I also capitalized full names and nicks where appropriate.
Lastly, I removed trailing spaces so the diff unfortunately shows some
additional changes due to whitespace.
Patch by: Jonas Nockert
Patch Set 1
Total comments: 3
Patch Set 2 : ''
Total comments: 4
Patch Set 3 : Revisited patch, fixed tests, etc.Patch Set 4 : Forgot one of the filesPatch Set 5 : This should be it. Promise.
Created: 3 years, 3 months ago
MessagesTotal messages: 3
|