[1.11.x] Fixed broken links to PyYAML page.
Backport of b7dbd5ff68bb9d2235ca081c0bd0b8baa65f8c77 from master.
This commit is contained in:
parent
2ea1e0e58d
commit
190aa59447
@ -19,7 +19,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
|
</topics/serialization>` has more details about each of these supported
|
||||||
:ref:`serialization formats <serialization-formats>`.
|
:ref:`serialization formats <serialization-formats>`.
|
||||||
|
|
||||||
.. _PyYAML: http://www.pyyaml.org/
|
.. _PyYAML: https://pyyaml.org/
|
||||||
|
|
||||||
As an example, though, here's what a fixture for a simple ``Person`` model might
|
As an example, though, here's what a fixture for a simple ``Person`` model might
|
||||||
look like in JSON:
|
look like in JSON:
|
||||||
|
@ -165,7 +165,7 @@ Identifier Information
|
|||||||
========== ==============================================================
|
========== ==============================================================
|
||||||
|
|
||||||
.. _json: http://json.org/
|
.. _json: http://json.org/
|
||||||
.. _PyYAML: http://www.pyyaml.org/
|
.. _PyYAML: https://pyyaml.org/
|
||||||
|
|
||||||
XML
|
XML
|
||||||
---
|
---
|
||||||
|
@ -664,7 +664,7 @@ class SerializationTests(SimpleTestCase):
|
|||||||
# - JSON supports only milliseconds, microseconds will be truncated.
|
# - JSON supports only milliseconds, microseconds will be truncated.
|
||||||
# - PyYAML dumps the UTC offset correctly for timezone-aware datetimes,
|
# - PyYAML dumps the UTC offset correctly for timezone-aware datetimes,
|
||||||
# but when it loads this representation, it subtracts the offset and
|
# 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.
|
# Tests are adapted to take these quirks into account.
|
||||||
|
|
||||||
def assert_python_contains_datetime(self, objects, dt):
|
def assert_python_contains_datetime(self, objects, dt):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user