On Dec 9, 2007 5:06 PM, radioflyer <[EMAIL PROTECTED]> wrote: > > parents = students.parents.all() > > And then check if logged in user.id matches against any of the parent > ids.
It'd help if you shared your model definitions; any answers given will be guesses as it is. > Is there a query set method for this? If not, what would the Python > look like? (Learning Python as I learn Django.) There isn't a dedicated method to do what you want, but it's certainly possible. Share your definitions and we'll be able to help better. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

