Hi Rafael,

The same is happening to me, did you find the issue?

Thanks

On Tuesday, July 21, 2015 at 10:11:48 AM UTC-5, Rafael Cabral wrote:
>
> Hi,
>
> i'm trying to filter content on \mezzanine\page\admin.py, my method 
> queryset is executed,
> but the items removed from de query continue showing on the list view
>
>
> class PageAdmin(DisplayableAdmin):
>     """
>     Admin class for the ``Page`` model and all subclasses of
>     ``Page``. Handles redirections between admin interfaces for the
>     ``Page`` model and its subclasses.
>     """
>
>     fieldsets = page_fieldsets
>
>     def queryset(self, request):
>         qs = super(PageAdmin, self).queryset(request)
>         from django.db.models import Q
>         query = qs.filter(~Q(content_model = 'hotsite'))
>         return query
>
>     .
>     .
>     .
>     .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to