add a space after ,

This commit is contained in:
Sanj 2012-02-20 22:21:56 +05:30
parent a4234b5b88
commit e33f55730b

View File

@ -117,8 +117,8 @@ class Stop(models.Model):
'road': self.road.name, 'road': self.road.name,
'area': self.area.name, 'area': self.area.name,
'name_mr': self.name_mr, 'name_mr': self.name_mr,
'routes': ",".join([r.route.alias for r in RouteDetail.objects.filter(stop=self)]), 'routes': ", ".join([r.route.alias for r in RouteDetail.objects.filter(stop=self)]),
'alternative_names': ",".join([a.name for a in self.alt_names.all().filter(typ='common')]) 'alternative_names': ", ".join([a.name for a in self.alt_names.all().filter(typ='common')])
} }
def get_geojson(self, srid=4326): def get_geojson(self, srid=4326):