[Django] #23530: yaml data files need PyYAML installed

10 views
Skip to first unread message

Django

unread,
Sep 21, 2014, 1:35:42 AM9/21/14
to django-...@googlegroups.com
#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.

Django

unread,
Sep 21, 2014, 10:05:03 AM9/21/14
to django-...@googlegroups.com
#23530: yaml data files need PyYAML installed
---------------------------+----------------------------
Reporter: aks | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 1.7
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------+----------------------------
Changes (by Claude Paroz <claude@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"5bf654e44b7473a2a4c284d0a4c47585d19f3a46"]:
{{{
#!CommitTicketReference repository=""
revision="5bf654e44b7473a2a4c284d0a4c47585d19f3a46"
Fixed #23530 -- Specified PyYAML requirement in initial-data.txt

Thanks aks for the report.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23530#comment:1>

Django

unread,
Sep 21, 2014, 10:06:01 AM9/21/14
to django-...@googlegroups.com
#23530: yaml data files need PyYAML installed
---------------------------+----------------------------
Reporter: aks | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 1.7
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------+----------------------------

Comment (by Claude Paroz <claude@…>):

In [changeset:"8a782571333f21e83980411301a0c8cc2d59a0b7"]:
{{{
#!CommitTicketReference repository=""
revision="8a782571333f21e83980411301a0c8cc2d59a0b7"
[1.7.x] Fixed #23530 -- Specified PyYAML requirement in initial-data.txt

Thanks aks for the report.

Backport of 5bf654e44b7 from master.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23530#comment:2>

Reply all
Reply to author
Forward
0 new messages