Check on media['uploader']'s id rather than the username
authorChristopher Allan Webber <cwebber@dustycloud.org>
Wed, 22 Jun 2011 18:57:34 +0000 (13:57 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Wed, 22 Jun 2011 18:57:34 +0000 (13:57 -0500)
commit54de443a6a6cd673cfef0efa73a9d5e6fc6cde7c
tree985c34abd1ad0da62c4330c3a5852d43a2244de8
parent3a2b22e34607fce05a74732a40bb8e49115129bb
Check on media['uploader']'s id rather than the username

This skips making an extra query to retrieve the uploader object and
also checks on the canonical ID, which is probably good (even if
indexing should ensure uniqueness there).
mediagoblin/templates/mediagoblin/user_pages/media.html