Re: Admin Search Engline

2010-07-01 Thread Dennis Kaarsemaker
ChangeList.get_query_set in django/contrib/admin/views/main.py On ma, 2010-06-28 at 11:41 +0200, Massimiliano della Rovere wrote: > Yes that's my idea. > Can you tell me which class/method in the admin files is responsible > for the search engine so that I can extend it? > > On Mon, Jun 28, 2010

Re: Admin Search Engline

2010-06-29 Thread euan.godd...@googlemail.com
Erm. I'm not sure as I've never done it. Have a read of the source for contrib.admin. If you can't find what you're looking for let me know. Euan On Jun 28, 10:41 am, Massimiliano della Rovere wrote: > Yes that's my idea. > Can you tell me which class/method in the admin files is responsible > f

Re: Admin Search Engline

2010-06-28 Thread Massimiliano della Rovere
Yes that's my idea. Can you tell me which class/method in the admin files is responsible for the search engine so that I can extend it? On Mon, Jun 28, 2010 at 10:27, euan.godd...@googlemail.com wrote: > I think that would be quite an undertaking as you would need to write > an expression parser

Re: Admin Search Engline

2010-06-28 Thread euan.godd...@googlemail.com
I think that would be quite an undertaking as you would need to write an expression parser and monkey around with the search code in admin. If you succeed, I'd be interested to see the result. Euan On Jun 28, 8:36 am, Massimiliano della Rovere wrote: > I'd like to modify the default search engi

Admin Search Engline

2010-06-28 Thread Massimiliano della Rovere
I'd like to modify the default search engine in the django admin interface so that is can search metadata too like values depending on sql COUNT() using google style prefixes in these cases. Can somebody help me telling which class/method in the admin files is responsible for the search engine so t