def to_topojson(self):
topojson = self.topojson<EOL>topojson["<STR_LIT>"]["<STR_LIT>"] = {<EOL>"<STR_LIT:type>": "<STR_LIT>",<EOL>"<STR_LIT>": [point.to_topojson() for point in self.points.all()],<EOL>}<EOL>return json.dumps(topojson)<EOL>
Adds points and converts to topojson string.