1
0
mirror of https://github.com/django/django.git synced 2025-03-31 03:30:46 +00:00
Aymeric Augustin ed83881e64 Fixed #23820 -- Supported per-database time zone.
The primary use case is to interact with a third-party database (not
primarily managed by Django) that doesn't support time zones and where
datetimes are stored in local time when USE_TZ is True.

Configuring a PostgreSQL database with the TIME_ZONE option while USE_TZ
is False used to result in silent data corruption. Now this is an error.
2015-05-17 09:40:28 +02:00
..
2013-12-24 12:25:17 +01:00
2015-04-27 08:40:36 -04:00
2015-04-27 08:40:36 -04:00
2015-02-06 09:30:35 -05:00
2015-03-20 17:57:11 -04:00
2013-12-24 12:25:17 +01:00
2015-02-06 09:30:35 -05:00
2015-02-06 12:58:45 +01:00

To run the test suite::

    $ cd tests
    $ pip install -r requirements/py3.txt  # or py2.txt
    $ PYTHONPATH=..:$PYTHONPATH ./runtests.py

For more information about the test suite, see
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.