etianen / django-watson

Full-text multi-table search application for Django. Easy to install and use, with good performance.
BSD 3-Clause "New" or "Revised" License
1.2k stars 129 forks source link

Document SearchContextMiddleware #268

Closed valentijnscholten closed 1 year ago

valentijnscholten commented 4 years ago

By accident I found the SearchContextMiddleware which I think can be used to have more efficient model updates, especially when some model instances are updated multiple times during a single reuquest.

Is this correct? Might be useful to document this (can be short)/

I updated the Wiki page: https://github.com/etianen/django-watson/wiki

Didn't know I had write access, was expecting the usual github prompt to create a branch/PR there :-)

etianen commented 4 years ago

It's just using the default settings, which I guess is public write? Who knew?!

Thanks for the update, and for letting me know.

On Sun, 15 Mar 2020 at 13:50, valentijnscholten notifications@github.com wrote:

By accident I found the SearchContextMiddleware which I think can be used to have more efficient model updates, especially when some model instances are updated multiple times during a single reuquest.

Is this correct? Might be useful to document this (can be short)/

I updated the Wiki page: https://github.com/etianen/django-watson/wiki

Didn't know I had write access, was expecting the usual github prompt to create a branch/PR there :-)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/etianen/django-watson/issues/268, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABEKCG2FZ2J77CKJWN5EIDRHTMIZANCNFSM4LK7XSUA .