Changes between Initial Version and Version 1 of Ticket #26511, comment 2
- Timestamp:
- Apr 16, 2016, 10:59:42 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26511, comment 2
initial v1 13 13 14 14 The filter returns no items 15 16 I just checked and it seems to me that 17 18 {{{ 19 print File.objects.filter(metadata__title= 'moon') 20 }}} 21 22 and 23 24 {{{ 25 print File.objects.filter(metadata__contains={'title': 'moon'}) 26 }}} 27 28 are equivalent, and they do exact searches for title=moon, and not a substring containment search which is what Im looking for