Changes between Version 3 and Version 4 of Ticket #25470


Ignore:
Timestamp:
Sep 26, 2015, 8:42:20 AM (9 years ago)
Author:
Qian Xu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25470 – Description

    v3 v4  
    2727Currently, I use a workaround:
    2828{{{
    29 db_dates  = [dt['date'] for dt in Model1.objects.order_by('date').values('date').distinct()]
     29db_dates = [dt['date'] for dt in Model1.objects.order_by('date').values('date').distinct()]
    3030}}}
Back to Top