Fixed #19186 -- Fixed sending mail with unicode content on Python 3

Thanks alex_po for the report and Luke Plant for the analysis.
Fixed #19272 -- Fixed gettext_lazy returned type on Python 2

Thanks tyrion for the report.
Fixed #19289 - Removed an out of place sentence in tutorial 2.

Thanks colinnkeenan for the report.
Fixed #19058 -- Fixed Oracle GIS crash

The problem is the same as in #10888 which was reintroduced when
bulk_insert was added. Thanks to Jani Tiainen for report, patch and
also testing the final patch on Oracle GIS.
Fixed #13781 -- Improved select_related in inheritance situations

The select_related code got confused when it needed to travel a
reverse relation to a model which had different parent than the
originally travelled relation.

Thanks to Trac aliases shauncutts for report and ungenio for original
patch (committed patch is somewhat modified version of that).
Fixed #18347 -- Removed autofield raw SQL inserts from tests
Fixed a regression in select_related

The regression was caused by the fix for #13781 (commit
f51e409a5fb34020e170494320a421503689aea0). Reason was leaving
off some crucial lines when resolving a merge conflict.
Another regression fix for select_related handling

This time gis compiler.get_default_columns() wasn't up to date. Thanks
to CI another regression fixed.

Refs #13781
Update django/contrib/flatpages/forms.py

Translate before passing in the variables (i.e. close the bracket earlier).
If you translate after passing in the variables the translated value will contain the actual values for 'url' and 'site' and will therefore not be translated.

(I'm not actually using django's flatpages, but I ran into this apparent error when doing a global grep on my own project)
Fixed #19296 -- Applied test connection sharing for spatialite

Thanks pegler at gmail.com for the report and the initial patch.
comment_will_be_sent can cause a 400, not a 403

Doc cleanup for django.contrib.comments.signals.comment_will_be_sent
If a receiver returns False, an HttpResponse with status code 400
is returned. A test case already exists confirming this behavior.
Updated docs to reflect reality.
Merge pull request #521 from emidln/master

Fixed docs noting comment_will_be_sent signals return 400 status code
Fixed #18985 -- made DeprecationWarnings loud

Capture warnings in Python >= 2.7 and route through
console handler, which is subject to DEBUG==True

Thanks to dstufft for the idea, and claudep for initial patch
Documented that contrib.sites creates a default site.

Thanks Lorin Hochstein for the patch.
Fixed #19136 -- Properly escape gettext context prefixes in the i18n JavaScript view template.
Merge branch 'master' of github.com:django/django
Merge pull request #490 from gabrielhurley/reverse-prefix-special-chars

Fixed #18210 -- Escaped special characters in reverse prefixes.
Fixed typo introduced in 4a5e8087ac7676ef08e76275c1f756778b39c13e.
Fixed #19310 -- changed method docs formatting for custom file storage docs
Fixed #18989 -- Removed unused condition in CursorWrapper

Thanks zimnyx for the report.