And media_data_init() for sql as a dummy
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Sat, 3 Mar 2012 20:12:57 +0000 (21:12 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Sat, 3 Mar 2012 20:12:57 +0000 (21:12 +0100)
Needs to be implemented.

mediagoblin/db/sql/models.py

index 8ae32c63617fd95c740530bb3a32eecd7cc682f2..dbc9ca055f0e49ce2e25a89bdbe361f07629c269 100644 (file)
@@ -172,6 +172,10 @@ class MediaEntry(Base, MediaEntryMixin):
         # TODO: Replace with proper code to read the correct table
         return {}
 
+    def media_data_init(self, **kwargs):
+        # TODO: Implement this
+        pass
+
 
 class MediaFile(Base):
     """