1
0
mirror of https://github.com/django/django.git synced 2025-01-04 23:46:09 +00:00
django/docs
Josh Smeaton e45ee72d69 [5.0.x] Fixed #35267 -- Clarified time zone topic for PostgreSQL in docs.
The timezone documentation for Postgres mentions the behavior of
time zone conversion, but links to the wrong setting that controls the
behavior.

Postgres will not return datetimes in the time zone set by the
TIME_ZONE setting, but rather the time zone of the database connection,
which is defined by DATABASES.TIME_ZONE setting falling back to UTC.

This corrects the link in the documentation and adds note that there
are two distinct TIME_ZONE settings and the one most are familiar with
is not considered for PostgreSQL time zone conversion.

Backport of 6e195b800a from main
2024-03-05 12:55:17 +01:00
..
_ext [5.0.x] Applied Black's 2024 stable style. 2024-01-26 12:55:56 +01:00
_theme
faq [5.0.x] Updated examples for 2.0+ release numbering in installation FAQ. 2023-12-15 06:17:02 +01:00
howto [5.0.x] Corrected BaseCommand.check() signature in docs. 2024-01-30 11:41:26 +01:00
internals [5.0.x] Fixed typo in docs/internals/contributing/writing-code/coding-style.txt. 2024-02-08 05:58:49 +01:00
intro [5.0.x] Removed distracting note from tutorial 4. 2024-02-21 08:15:19 +01:00
man [5.0.x] Updated man page for Django 5.0 rc1. 2023-11-20 08:46:20 -03:00
misc [5.0.x] Removed mention of designers in DTL design philosophy. 2024-02-01 09:20:53 +01:00
ref [5.0.x] Fixed typo in docs/ref/contrib/admin/index.txt. 2024-02-29 08:31:46 +01:00
releases [5.0.x] Added stub release notes for 5.0.4. 2024-03-04 11:21:02 +01:00
topics [5.0.x] Fixed #35267 -- Clarified time zone topic for PostgreSQL in docs. 2024-03-05 12:55:17 +01:00
conf.py [5.0.x] Bumped django_next_version in docs config. 2023-09-18 11:28:22 -03:00
contents.txt
glossary.txt
index.txt
make.bat
Makefile
README.rst
requirements.txt
spelling_wordlist [5.0.x] Doc'd support for assistive technologies in the admin. 2023-11-17 11:20:54 +01:00

The documentation in this tree is in plain text files and can be viewed using
any text file viewer.

It uses `ReST`_ (reStructuredText), and the `Sphinx`_ documentation system.
This allows it to be built into other forms for easier viewing and browsing.

To create an HTML version of the docs:

* Install Sphinx (using ``python -m pip install Sphinx`` or some other method).

* In this docs/ directory, type ``make html`` (or ``make.bat html`` on
  Windows) at a shell prompt.

The documentation in ``_build/html/index.html`` can then be viewed in a web
browser.

.. _ReST: https://docutils.sourceforge.io/rst.html
.. _Sphinx: https://www.sphinx-doc.org/