Changes between Initial Version and Version 1 of Ticket #31580


Ignore:
Timestamp:
May 13, 2020, 6:00:01 AM (5 years ago)
Author:
Sielc Technologies
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31580 – Description

    initial v1  
    2424        qs2 = qs.filter(name='Sam1').annotate(rank=Value(1, IntegerField()))
    2525        qs = qs1.union(qs2)
    26         qs = qs.order_by('name').distinct('name')  # THIS DISTINCT DONESN'T WORK
     26        qs = qs.order_by('name').distinct('name')  # THIS DISTINCT DOESN'T WORK
    2727        self.assertEqual(qs.count(), 2)
    2828}}}
Back to Top