diff montage/formatters.py @ 0:b7348ffe5b46

initial import of montage
author k0s <k0scist@gmail.com>
date Mon, 07 Sep 2009 15:38:38 -0400
parents
children 4b8aa9b0a45b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/montage/formatters.py	Mon Sep 07 15:38:38 2009 -0400
@@ -0,0 +1,11 @@
+from decoupage.formatters import All
+
+class Montage(All):
+
+    def __init__(self, arg):
+        # XXX dummy arg
+        self.match = [ "*.jpg", "*.png", ]
+        # XXX should really filter on mimetype
+
+    def __call__(self, request, data):
+        All.__call__(self, request, data)