Monday, October 31, 2011

Re: django-easyfilters for filtering data in a view

If anyone else is having trouble here, my problem was in passing the
template when loaded from an external file--specifying the template
inline worked fine for me.

The context variables are provided in the documentation.


Good luck
-alan


On Oct 30, 9:21 pm, Alan <alan.ill...@gmail.com> wrote:
> I'm trying to put together a view that filters data similar to the
> admin interface's change lists for a model.
>
> Does anyone use django-easyfilters for this purpose?
>
> The documentation is very terse on how to use the get_template()
> method:http://packages.python.org/django-easyfilters/filterset.html
>
> I correctly return a template but I'm not sure how to provide the
> context data from the derived FilterSet class.
>
> Thanks
> -alan

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment