Do not shadow format builtin in e-mail preview views
Review Request #8895 — Created April 12, 2017 and submitted
The e-mail preview views were shadowing the
formatbuiltin via a
argument which indicated the format to render the e-mail as: plain text
or HTML. In order to not shadowformat, it has been renamed
message_formatand all URLs and tests have been updated appropriately.In addition, the preview password change e-mail view has been updated to
usemessage_formatfrom the URL instead of extracting it from
request.GET.
Ran unit tests.
| Description | From | Last Updated |
|---|---|---|
|
Do you mean the format builtin? |
|
- Description:
-
~ The e-mail preview views were shadowing the
previewbuiltin via a~ The e-mail preview views were shadowing the
formatbuiltin via aargument which indicated the format to render the e-mail as: plain text or HTML. In order to not shadow format, it has been renamedmessage_formatand all URLs and tests have been updated appropriately.In addition, the preview password change e-mail view has been updated to
use message_formatfrom the URL instead of extracting it fromrequest.GET.