Opened 5 years ago
Closed 5 years ago
#32400 closed New feature (wontfix)
Add the same serializer for yml as yaml into built-in serializers
| Reported by: | myl7 | Owned by: | myl7 |
|---|---|---|---|
| Component: | Core (Serialization) | Version: | dev |
| Severity: | Normal | Keywords: | yml yaml serializer loaddata |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
yml is a common alias of yaml.
The new feature makes ./manage.py loaddata a be able to find not only a.yaml but also a.yml.
Note:
See TracTickets
for help on using tickets.
If you need to alias the YAML serializer as
ymlyou can use theSERIALIZATION_MODULESsetting.