Turn media.get_uploader into a property
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Fri, 23 Dec 2011 23:08:28 +0000 (00:08 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Tue, 27 Dec 2011 19:41:31 +0000 (20:41 +0100)
commit05751758469a03835975dd2998aa727fa29c9a16
treef101ef46aa0d6441232335f678415ad1555b7f45
parent0eb649ff7ac3f1eb71eb1d2cb66019a860b2c5c7
Turn media.get_uploader into a property

sqlalchemy gives autoloading (hopefully caching) link to
other objects as properties. So turn get_uploader on the
current mongo based stuff into a property to ease
transition.
mediagoblin/db/mongo/models.py
mediagoblin/listings/views.py
mediagoblin/templates/mediagoblin/edit/attachments.html
mediagoblin/templates/mediagoblin/edit/edit.html
mediagoblin/templates/mediagoblin/user_pages/media.html
mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html
mediagoblin/user_pages/views.py