<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_dict(self):
 """Return a dict all all data about the release"""

        data = model_to_dict(self, exclude=['id'])
        data['title'] = unicode(self)
        data['slug'] = self.slug
        data['release_date'] = self.release_date.date().isoformat()
        data['created'] = self.created.isoformat()
        data['modified'] = self.modified.isoformat()
        new_features, known_issues = self.notes(public_only=False)
        for note in known_issues:
            note.tag = 'Known'
        data['notes'] = [n.to_dict(self) for n in chain(new_features, known_issues)]
        return data