django/django — pull request #2876 by radiosilence (2014-07-03 14:18:47+00:00)
Title: Using recommended way of localising a naive datetime.

Since pytz 2014.3, doing .replace will use LMT timezones
which are not particularly useful.

The recommended way of avoiding this, is to use utc (or
whatever timezone you are using) .localize(naive).