#23530: yaml data files need PyYAML installed
-------------------------------+--------------------
     Reporter:  aks            |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  Documentation  |    Version:  1.7
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 In the documentation at [https://docs.djangoproject.com/en/1.7/howto
 /initial-data/ 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.

--
Ticket URL: <https://code.djangoproject.com/ticket/23530>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/046.0a3b47e904c7f2d0a8c3cfd78a0331d3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to