#12033: ModelAdmin.search_fields throws exception when using @ for non mysql
database
-------------------------------------+-------------------------------------
Reporter: Harro | Owner: (none)
Type: New feature | Status: closed
Component: contrib.admin | Version: 1.1
Severity: Normal | Resolution: wontfix
Keywords: search_fields, | Triage Stage: Accepted
fulltext, mysql, sqlite, error |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):
Actually the `@` -> `__search` conversion is still present in
`get_search_result()` so could implement a `SearchLookup` that you
register to both `CharField` and `TextField` and you could implement it on
SQLite.
--
Ticket URL: <https://code.djangoproject.com/ticket/12033#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.b474b53012002a8cd56ea03280b70865%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.