def __repr__(self):
        return "<NamedRequirements({}{})>".format(
            self.name,
            ", filename='{}'".format(self.filename.name) if self.filename
            else "")
def __init__(self,title,richtext,text):
        self.title=title
        self.richtext=richtext
        self.text=text