Changes between Initial Version and Version 1 of Ticket #26517


Ignore:
Timestamp:
Apr 19, 2016, 5:37:50 AM (9 years ago)
Author:
Sven R. Kunze
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26517 – Description

    initial v1  
    33{{{
    44editable_ones = ..... # another queryset
    5 result = MyModel.objects.annotate(editable=ExpressionWrapper(Q(pk__in=editable_child_folders), output_field=BooleanField())
     5result = MyModel.objects.annotate(editable=ExpressionWrapper(Q(pk__in=editable_ones), output_field=BooleanField())
    66}}}
    77
Back to Top