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:48:37 +0100 |
| commit | b7dbd5ff68bb9d2235ca081c0bd0b8baa65f8c77 (patch) | |
| tree | 727807b5da190df599f8aded31d43f70446704b6 | |
| parent | 277de2298465496b58808d22f67963544c76b16a (diff) | |
Fixed broken links to PyYAML page.
| -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 c3ef1558bf..fba5113e40 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 0119bbe06d..42be78ae25 100644 --- a/tests/timezones/tests.py +++ b/tests/timezones/tests.py @@ -607,7 +607,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): |
