Turn media.{backref_nam} from a list to a scalar.
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Fri, 1 Feb 2013 14:52:17 +0000 (15:52 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Fri, 1 Feb 2013 21:02:35 +0000 (22:02 +0100)
commit1f268deda4af36d9547effd890c11e6005d4877f
tree220b73ac444c8e02e71e60521d8b3b7df50f54c6
parent57f8d263e1773be7458f09f9b3f1b7571cb0e026
Turn media.{backref_nam} from a list to a scalar.

For all our media_types, let the backref on the media_entry
be a scalar (there is only one media_data per media_entry)
instead of a list with zero or one entry.

The media_data toolchain on MediaEntry currently handles
both transparently.
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