Re: Hot to use widgets with generic views

2012-08-14 Thread Tomas Neme
well, for starters, you won't magically get "on keyup" behavior by adding something on your backend, you'll need to use ajax for this, and, depending on your expected number of elements, it might be better to send everything and do any filtering on the client side (if you're handling, say, up to a

Hot to use widgets with generic views

2012-08-14 Thread mjd
This is a general question. Im am using generic views to display all objects in a model. This is working great. However, i want to add text field widget to filter the objects onkeyup. That is, I want the text field to re-render the generic view after applying the text filter in the queryset