Author: gregoryjnewman
Date: Fri Sep 12 04:28:31 2008
New Revision: 878
Modified:
trunk/pinax/local_apps/photos/views.py
Log:
changing the project query
Modified: trunk/pinax/local_apps/photos/views.py
==============================================================================
--- trunk/pinax/local_apps/photos/views.py (original)
+++ trunk/pinax/local_apps/photos/views.py Fri Sep 12 04:28:31 2008
@@ -50,7 +50,7 @@
'''show the photo details'''
other_user = get_object_or_404(User, username=request.user.username)
tribes = Tribe.objects.filter(members=request.user)
- projects = Project.objects.filter(members=request.user)
+ projects = Project.objects.filter(members__user=request.user)
photo = get_object_or_404(Photos, id=id)
# Build a list of tribes and the photos from the pool
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" 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/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---