diff options
author | Joar Wandborg <git@wandborg.com> | 2011-05-07 03:11:36 +0200 |
---|---|---|
committer | Joar Wandborg <git@wandborg.com> | 2011-05-07 03:11:36 +0200 |
commit | 88bcdcd7d28d8e5548aeefa0a69e8af3773870a9 (patch) | |
tree | 0b14edd0dc44691068c631ddfc59ff6c890fc69d /mediagoblin/models.py | |
parent | 5c42a82c5ad4fa410219084a6f43bdc414369114 (diff) | |
parent | 1c424df505b3c9f9cceb84a4fd0ac1867b7ed9b4 (diff) | |
download | mediagoblin-88bcdcd7d28d8e5548aeefa0a69e8af3773870a9.tar.lz mediagoblin-88bcdcd7d28d8e5548aeefa0a69e8af3773870a9.tar.xz mediagoblin-88bcdcd7d28d8e5548aeefa0a69e8af3773870a9.zip |
Merge branch 'master' of http://git.gitorious.org/mediagoblin/mediagoblin
Diffstat (limited to 'mediagoblin/models.py')
-rw-r--r-- | mediagoblin/models.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mediagoblin/models.py b/mediagoblin/models.py index e1198187..69b1f4f0 100644 --- a/mediagoblin/models.py +++ b/mediagoblin/models.py @@ -74,11 +74,16 @@ class MediaEntry(Document): 'tags': [unicode], 'state': unicode, + # For now let's assume there can only be one main file queued + # at a time + 'queued_media_file': [unicode], + + # A dictionary of logical names to filepaths + 'media_files': dict, + # The following should be lists of lists, in appropriate file # record form - 'media_files': list, 'attachment_files': list, - 'queue_files': list, # This one should just be a single file record 'thumbnail_file': [unicode]} |