aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/models.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-05-06 09:37:24 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-05-06 09:37:24 -0500
commitfa7f9c6184286f2b56f353b21ffaf1e1577569a3 (patch)
treed9cf86e9ec9bade53f48d67da58c4c8919a4b3cf /mediagoblin/models.py
parent1dddd4e913b21ea9ee3bf29b32916814be563fcf (diff)
downloadmediagoblin-fa7f9c6184286f2b56f353b21ffaf1e1577569a3.tar.lz
mediagoblin-fa7f9c6184286f2b56f353b21ffaf1e1577569a3.tar.xz
mediagoblin-fa7f9c6184286f2b56f353b21ffaf1e1577569a3.zip
Process media! Successfully!
Diffstat (limited to 'mediagoblin/models.py')
-rw-r--r--mediagoblin/models.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/mediagoblin/models.py b/mediagoblin/models.py
index eef59ed4..cd6a28cc 100644
--- a/mediagoblin/models.py
+++ b/mediagoblin/models.py
@@ -73,11 +73,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]}