Update all the views so that they use the uploader reference instead

of uploader embedding
This commit is contained in:
Christopher Allan Webber
2011-05-22 16:06:45 -05:00
parent 757f37a52d
commit 16509be160
5 changed files with 13 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ def user_home(request, page):
return exc.HTTPNotFound()
cursor = request.db.MediaEntry.find(
{'uploader': user,
{'uploader': user['_id'],
'state': 'processed'}).sort('created', DESCENDING)
pagination = Pagination(page, cursor)