def __repr__(self):
        return "<Requirements({})>".format(self.filename.name or "")
def serialize(self, value, display=False):
        """Convert value back to string for saving."""
        if value is None:
            return ""
        return str(value)