#20409: Investigate how unique_for_date works with DateTimeFields when USE_TZ is
True
----------------------------------------------+-----------------------
     Reporter:  aaugustin                     |      Owner:  aaugustin
         Type:  Cleanup/optimization          |     Status:  new
    Component:  Database layer (models, ORM)  |    Version:  master
     Severity:  Normal                        |   Keywords:
 Triage Stage:  Unreviewed                    |  Has patch:  0
Easy pickings:  0                             |      UI/UX:  0
----------------------------------------------+-----------------------
 I'm not convinced `unique_for_date` works with `DateTimeField` when
 `USE_TZ = True`.

 In general I'm highly skeptical of APIs that accept dates or datetimes
 indifferently; they don't work well in a timezone-aware world.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20409>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to