QuerySet.select_related().dates() includes duplicate dates if foreign-key values are different for same day
|Reported by:||Adrian Holovaty||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||master|
|Has patch:||no||Needs documentation:|
|Needs tests:||Patch needs improvement:|
Marco brought this up here as a bug in the admin, but I've tracked it back to being a bug in the way the post-queryset-refactor
dates() model API works. Failing tests and fix forthcoming.