summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-10-07 21:06:49 -0400
committerTim Graham <timograham@gmail.com>2016-10-27 08:53:20 -0400
commit414ad25b090a63eaaf297b1164c8f7d814a710a2 (patch)
treee3d0e6fdffee0793baad41a339c2d63db742c33a /docs/ref/models
parentd84ffcc22b2a0dbc0a44a67d56da7e3647e2f87a (diff)
Fixed #27327 -- Simplified time zone handling by requiring pytz.
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/querysets.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index f1c3864377..aa25cd2c0e 100644
--- a/docs/ref/models/querysets.txt
+++ b/docs/ref/models/querysets.txt
@@ -758,11 +758,11 @@ object. If it's ``None``, Django uses the :ref:`current time zone
As a consequence, your database must be able to interpret the value of
``tzinfo.tzname(None)``. This translates into the following requirements:
- - SQLite: install pytz_ — conversions are actually performed in Python.
+ - SQLite: no requirements. Conversions are performed in Python with pytz_
+ (installed when you install Django).
- PostgreSQL: no requirements (see `Time Zones`_).
- Oracle: no requirements (see `Choosing a Time Zone File`_).
- - MySQL: install pytz_ and load the time zone tables with
- `mysql_tzinfo_to_sql`_.
+ - MySQL: load the time zone tables with `mysql_tzinfo_to_sql`_.
.. _pytz: http://pytz.sourceforge.net/
.. _Time Zones: https://www.postgresql.org/docs/current/static/datatype-datetime.html#DATATYPE-TIMEZONES