(SQL) Media types: Refactor backrefnames.
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Mon, 17 Dec 2012 16:36:34 +0000 (17:36 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Mon, 24 Dec 2012 21:52:27 +0000 (22:52 +0100)
commit0562898e116ffcc8ce6f811c7c05ff77035bfa96
tree4d0103ff38872a581a9eb8cb8e976cae4b7b29ed
parentac8212fe657802eaf9dfd9d6c0f28f25b750399e
(SQL) Media types: Refactor backrefnames.

We need to know the name of the backref, so that we can
access it by name on the MediaEntry. We might be able to
get this name by inspection, but this way is easier, for
now.
mediagoblin/media_types/ascii/models.py
mediagoblin/media_types/audio/models.py
mediagoblin/media_types/image/models.py
mediagoblin/media_types/stl/models.py
mediagoblin/media_types/video/models.py