Normalize the text and HTML body types for EmailMessage.

Review Request #10471 — Created March 27, 2019 and submitted

Information

Djblets
release-2.0.x

Reviewers

EmailMessage now accepts both byte strings and Unicode strings for the
text and HTML bodies. These are normalized to Unicode strings, which are
compatible with the implementations on both Python 2 and 3, and across
the range of Django versions.

Djblets and Review Board unit tests pass on Python 2/3 with Django 1.6
and 1.11.

Summary ID
Normalize the text and HTML body types for EmailMessage.
`EmailMessage` now accepts both byte strings and Unicode strings for the text and HTML bodies. These are normalized to Unicode strings, which are compatible with the implementations on both Python 2 and 3, and across the range of Django versions.
df5075ff1e288b1526439f54c59a78b44b1a7dda
Description From Last Updated

E303 too many blank lines (2)

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.0.x (3e9a440)