#12467: More helpful error message when loading fixture with invalid date ------------------------------------------+--------------------------------- Reporter: knutin | Owner: nobody Status: new | Milestone: Component: Database layer (models, ORM) | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 1 | ------------------------------------------+--------------------------------- It would be extremely helpful to have a more helpful error message when loading a fixture an invalid date. This would allow me to actually see the invalid data and I may then correct the data.
Attached is a very simple patch that will include the invalid data in the exception string. It would be extremely helpful to see more data, like the model and pk. -- Ticket URL: <http://code.djangoproject.com/ticket/12467> 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.
