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


Ignore:
Timestamp:
Sep 9, 2016, 8:35:22 PM (8 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27205, comment 2

    initial v1  
    1212Dog.objects.annotate(breed=KeyTextTransform('breed', 'data')).filter(breed__contains='l')
    1313}}}
     14
     15Edit: By the way, if we were to document the `KeyTransform` and `KeyTextTransform` APIs I'd suggest they allow multiple args to be provided and their ordering reversed (e.g. `KeyTransform('data', 'nested', 'deep')`).
Back to Top