Video media_data: Change layout in the mongo world
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 1 Mar 2012 20:59:26 +0000 (21:59 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 1 Mar 2012 21:25:41 +0000 (22:25 +0100)
commit5ff575827b5f53a6a5e8126cbcc5a66fde005786
tree7a968da26d92b3f85abddfc008fa6d4a6d6105e5
parent94df840b3bf100a3fdd33e2fef2d4201d4a4ac45
Video media_data: Change layout in the mongo world

Change the media_data for video from
entry.media_data["video"] to use entry.media_data directly.

Also start a bare MediaEntry.media_data_init(**kwargs)
method for setting up the media_data and possibly
initialising it with kwargs.
mediagoblin/db/mongo/migrations.py
mediagoblin/db/mongo/models.py
mediagoblin/media_types/video/processing.py
mediagoblin/templates/mediagoblin/media_displays/video.html