Changes between Initial Version and Version 1 of Ticket #26511, comment 2


Ignore:
Timestamp:
Apr 16, 2016, 10:59:42 AM (9 years ago)
Author:
Eoin Murray

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26511, comment 2

    initial v1  
    1313
    1414The filter returns no items
     15
     16I just checked and it seems to me that
     17
     18{{{
     19print File.objects.filter(metadata__title= 'moon')
     20}}}
     21
     22and
     23
     24{{{
     25print File.objects.filter(metadata__contains={'title': 'moon'})
     26}}}
     27
     28are equivalent, and they do exact searches for title=moon, and not a substring containment search which is what Im looking for
Back to Top