#5675: loaddata cannot cope with the datetime format from dumpdata ------------------------------------+--------------------------------------- Reporter: [EMAIL PROTECTED] | Owner: nobody Status: new | Component: Serialization Version: SVN | Keywords: Stage: Unreviewed | Has_patch: 0 ------------------------------------+--------------------------------------- If a table containing dates with fractions of seconds is dumped using dumpdata, it cannot be loaded back as a fixture using loaddata, which gives the following error message:
Problem installing fixture '<some stuff>/fixtures/test.json': [u'Enter a valid date/time in YYYY-MM-DD HH:MM format.'] The actual date from dumpdata is in this format: 2007-10-02 13:41:16.678449 -- Ticket URL: <http://code.djangoproject.com/ticket/5675> Django Code <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 -~----------~----~----~----~------~----~------~--~---
