def clean(self, value):
        """Takes a Werkzeug FileStorage, returns the relative path.
        """
        if isinstance(value, FileStorage):
            return self.storage.save(value)
        return value
Takes a Werkzeug FileStorage, returns the relative path.