Create function to search media by slug.
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Fri, 16 Mar 2012 17:13:46 +0000 (18:13 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Fri, 16 Mar 2012 20:20:14 +0000 (21:20 +0100)
commit07163593ee29b60b688205af14433588e42c6498
treed1ea78cef8d8ef7a455d2aacc179680532c40a3d
parentd8409c26a0bf40b336e036aecf3224aa74f5b8f3
Create function to search media by slug.

Searching media by slug is easy on mongo. But doing the
joins in sqlalchemy is not as nice. So created a function
for doing it.

Well, and create the same function for mongo, so that it
also works.
mediagoblin/db/mongo/util.py
mediagoblin/db/sql/util.py
mediagoblin/db/util.py
mediagoblin/listings/views.py