#23530 closed Bug (fixed)
yaml data files need PyYAML installed
Reported by: | Alan Stebbens | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.7 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In the documentation at Providing Initial Data, the format of a yaml file is described, but not that the PyYAML module needs to be also installed in order for the manage.py loaddata
invocation to work. Apparently, it is not installed by default with django.
Just before the paragraph starting Loading data is easy ..
, the following should be added:
To make use of yaml files, the PyYAML module should be installed with pip install PyYAML
, after which, loading data is easy.
Note:
See TracTickets
for help on using tickets.
In 5bf654e44b7473a2a4c284d0a4c47585d19f3a46: