#24822: Autodetector crashes on add/removal of tzinfo from DateTimeField default
-------------------------------+------------------------------------
     Reporter:  camiloforero   |                    Owner:  nobody
         Type:  Bug            |                   Status:  new
    Component:  Documentation  |                  Version:  1.8
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------
Changes (by MarkusH):

 * component:  Migrations => Documentation


Comment:

 First, it's a rather uncommon use case to define an explicit datetime
 instead of `now` (i.e. a function). Second, I only see a possible fix by
 special casing datetime handling. That said, I think we should document
 this behavior as a known shortcoming until we find a suitable and
 practical solution.

--
Ticket URL: <https://code.djangoproject.com/ticket/24822#comment:3>
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/070.7c602bb79840fd7b0ce556937756c039%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to