Wednesday, March 30, 2011

model manager and request

Is there a way to use the "request.user" attributes in a custom model
manager? So I could filter by certain attributes the current logged
in user has? This is the preferable way I would like to filter the
objects the user sees, so if there is a way, I would appreciate the
help. If there is no way to do it like this, I would be open to other
suggestions although, the way my project is structured I dont want to
do this in my view functions.
thanks for any help

You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment