Changes between Initial Version and Version 1 of Ticket #31340, comment 8
- Timestamp:
- May 23, 2025, 12:48:50 PM (3 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31340, comment 8
initial v1 38 38 as in its current form it disallows usage of `Func(output_field=SearchQueryField())`. 39 39 40 Happy to accept a new ticket with the above if you're willing to write tests, in the mean time your best bet is likely to subclass `SearchQuery` and override `__init__` to assign ` my_tsquery_func` instead and support a different signature.40 Happy to accept a new ticket with the above if you're willing to write tests, in the mean time your best bet is likely to subclass `SearchQuery` and override `__init__` to assign `self.function = "my_tsquery_func"` instead and support a different signature.