#8412: When there is a DateTimeField in, data saved with dumpdata cannot be reloaded using loaddata (on German Systems) ---------------------------------------------------------+------------------ Reporter: Mark Essien <markess...@gmail.com> | Owner: nobody Status: reopened | Milestone: 1.1 Component: Serialization | Version: 1.1-beta-1 Resolution: | Keywords: loaddata dumpdata DateTimeField Stage: Accepted | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ---------------------------------------------------------+------------------ Changes (by anderser):
* status: closed => reopened * version: SVN => 1.1-beta-1 * resolution: worksforme => Comment: I have the same issue on Ubuntu with Django 1.1 beta 1 after creating a fixture with the option --format xml. Same applies if format json is used. Output from loaddata command: {{{ Problem installing fixture '/tmp/mydata.xml': Traceback (most recent call last): File "/usr/lib/python2.5/site- packages/django/core/management/commands/loaddata.py", line 150, in handle for obj in objects: File "/usr/lib/python2.5/site- packages/django/core/serializers/xml_serializer.py", line 131, in next return self._handle_object(node) File "/usr/lib/python2.5/site- packages/django/core/serializers/xml_serializer.py", line 176, in _handle_object value = field.to_python(getInnerText(field_node).strip()) File "/usr/lib/python2.5/site- packages/django/db/models/fields/__init__.py", line 565, in to_python _('Enter a valid date/time in YYYY-MM-DD HH:MM[:ss[.uuuuuu]] format.')) ValidationError: Enter a valid date/time in YYYY-MM-DD HH:MM[:ss[.uuuuuu]] format. }}} -- Ticket URL: <http://code.djangoproject.com/ticket/8412#comment:4> 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 django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---