#18867: Restoring YAML fixtures with DateTimeField causes timezone warnings
-------------------------------------+-------------------------------------
     Reporter:  aigarius@…           |                    Owner:  aaugustin
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Database layer       |                  Version:  1.4
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Feuermurmel):

 Replying to [comment:5 dcreager]:
 > 1. Don't use the `!!timestamp` YAML tag

 Is there a way to prevent `./manage.py dumpdata --format yaml` from
 automatically inserting the `!!timestamp` tags? We mainly run into this
 problem when using that command to generate fixtures for our unit tests.

--
Ticket URL: <https://code.djangoproject.com/ticket/18867#comment:6>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/076.67fa25452cedf5b9078d9c308c806aa7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to