Hi all, I'm stuck on how to restructure the following in order to return a QuerySet instead of a List (needed for Lazy evaluation):
filter(lambda o: user.has_perm('read', o), MyModel.objects.all()) Using django-guardian <http://django-guardian.readthedocs.org>, for object-level permissions. Appreciate any ideas, Adam -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/db04945f-d6c2-42a7-88fa-2f0c7c3bc284%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.