#12756: dumpdata error message should note pyyaml requirement -------------------------------+-------------------------------------------- Reporter: [email protected] | Owner: nobody Status: new | Milestone: Component: Documentation | Version: 1.1 Keywords: | Stage: Unreviewed Has_patch: 0 | -------------------------------+-------------------------------------------- When trying to dumping some data to yaml, if pyyaml is not installed, one gets the following error message:
$ ./manage-dev dumpdata --indent=2 --format=yaml auth Error: Unknown serialization format: yaml It would be very helpful, if the error message would mention the lack of pyyaml, for example by saying: "Error: Unknown serialization format: yaml (you need to install PyYAML perhaps?)" Also, the PyYAML requirement should be mentioned on the http://docs.djangoproject.com/en/dev/howto/initial-data/ page, as well. The point is that although the need for pyyaml is mentioned on the "Serializing Django objects" page, when one uses the documentation as a reference, one might miss that page resulting in some head-scratching as to how come yaml doesn't work even though the documentation claims it does. -- Ticket URL: <http://code.djangoproject.com/ticket/12756> Django <http://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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.
