Browse Source

delete unused to_dict

pull/1897/head
Casey 2 years ago
parent
commit
6a44547085
1 changed files with 0 additions and 3 deletions
  1. 3
      backend/data_export/models.py

3
backend/data_export/models.py

@ -85,9 +85,6 @@ class ExportedComment(Comment):
def to_string(self) -> str: def to_string(self) -> str:
return self.text return self.text
def to_dict(self):
return {"id": self.example.id, "comment": self.text}
class Meta: class Meta:
proxy = True proxy = True
Loading…
Cancel
Save