My models <http://dpaste.com/13334/> contain a m2m relationship
between a Profile and a GamePlatform.

I want a view to output the list of entire GamePlatforms, but flag
those that the Profile has a relationship with.

I can do:
for platform in GamePlatform.objects.all():

but then how do I mark the appropriate platforms?

I'm guessing I need a custom manager, but how do I access the
currently logged in user's Profile and mark the QuerySet as necessary?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to