diff options
| author | CHI Cheng <cloudream@gmail.com> | 2018-12-27 20:48:37 +1100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2018-12-27 10:49:57 +0100 |
| commit | 6f4130f3583b00c86a3aa80c8bf82570696bcd2c (patch) | |
| tree | ad7ea7f20e7bbfb8bb01f239c751344ce26dd4b2 | |
| parent | a79789e232aa3b78b93c9d9b783491351549ea0d (diff) | |
[2.1.x] Fixed broken links to PyYAML page.
Backport of b7dbd5ff68bb9d2235ca081c0bd0b8baa65f8c77 from master.
| -rw-r--r-- | docs/howto/initial-data.txt | 2 | ||||
| -rw-r--r-- | docs/topics/serialization.txt | 2 | ||||
| -rw-r--r-- | tests/timezones/tests.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/howto/initial-data.txt b/docs/howto/initial-data.txt index fcfecc82a1..4ec2b0bae3 100644 --- a/docs/howto/initial-data.txt +++ b/docs/howto/initial-data.txt @@ -30,7 +30,7 @@ Or, you can write fixtures by hand; fixtures can be written as JSON, XML or YAML </topics/serialization>` has more details about each of these supported :ref:`serialization formats <serialization-formats>`. -.. _PyYAML: https://www.pyyaml.org/ +.. _PyYAML: https://pyyaml.org/ As an example, though, here's what a fixture for a simple ``Person`` model might look like in JSON: diff --git a/docs/topics/serialization.txt b/docs/topics/serialization.txt index 4603b4d508..e4be57df59 100644 --- a/docs/topics/serialization.txt +++ b/docs/topics/serialization.txt @@ -165,7 +165,7 @@ Identifier Information ========== ============================================================== .. _json: https://json.org/ -.. _PyYAML: https://www.pyyaml.org/ +.. _PyYAML: https://pyyaml.org/ XML --- diff --git a/tests/timezones/tests.py b/tests/timezones/tests.py index bb5355be11..430eddb04e 100644 --- a/tests/timezones/tests.py +++ b/tests/timezones/tests.py @@ -606,7 +606,7 @@ class SerializationTests(SimpleTestCase): # - JSON supports only milliseconds, microseconds will be truncated. # - PyYAML dumps the UTC offset correctly for timezone-aware datetimes, # but when it loads this representation, it subtracts the offset and - # returns a naive datetime object in UTC (https://pyyaml.org/ticket/202). + # returns a naive datetime object in UTC. See ticket #18867. # Tests are adapted to take these quirks into account. def assert_python_contains_datetime(self, objects, dt): |
