New media_data row needs to know its MediaEntry's id.
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 22 Mar 2012 20:19:47 +0000 (21:19 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 22 Mar 2012 20:21:38 +0000 (21:21 +0100)
commit99c2f9f0c4e141adf1771f91fa1105e52108634b
treeed7911df1d757132840efb1644c290a138da1ec7
parentecd538bb6596f064ed791d865f1efc7a24a637c4
New media_data row needs to know its MediaEntry's id.

When creating a new media_data row, the new row needs to
know the MediaEntry it is associated with. I have no idea,
why this worked before at all. Maybe some implicit tricks
by sqlalchemy?
mediagoblin/db/sql/models.py