Moved site, is_secure, etc. into render_to_string shortcut, and fixed bugs in...
Moved site, is_secure, etc. into render_to_string shortcut, and fixed bugs in the shortcut. We should test this pretty well, since this touches a lot of templates
Showing
- djangoapps/student/views.py 5 additions, 9 deletionsdjangoapps/student/views.py
- lib/mitxmako/middleware.py 4 additions, 2 deletionslib/mitxmako/middleware.py
- lib/mitxmako/shortcuts.py 7 additions, 4 deletionslib/mitxmako/shortcuts.py
- templates/emails/activation_email.txt 5 additions, 1 deletiontemplates/emails/activation_email.txt
- templates/emails/confirm_email_change.txt 4 additions, 0 deletionstemplates/emails/confirm_email_change.txt
- templates/emails/email_change.txt 5 additions, 1 deletiontemplates/emails/email_change.txt
- templates/emails/welcome_body.txt 4 additions, 0 deletionstemplates/emails/welcome_body.txt
Please register or sign in to comment