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:52:15 +0100 |
| commit | a3dfd38baab01ad0a0d77c4684d111ab30054a2e (patch) | |
| tree | 2ef1063d16fa120b4d28affe41657b734bfa860d | |
| parent | 1b752d349371f9bacfefee75aa496818c2d44d24 (diff) | |
[2.0.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 64012f66b9..351a15bf1a 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 3e3e698646..90c70bd6bf 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 926b8de704..842b7df79d 100644 --- a/tests/timezones/tests.py +++ b/tests/timezones/tests.py @@ -667,7 +667,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 (http://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): |
