From ce68ea4fb3790b9374e5f5fbba4ca37af102c1f0 Mon Sep 17 00:00:00 2001 From: Sanj Date: Fri, 5 Oct 2012 16:59:47 +0530 Subject: [PATCH] oopsies --- chaloBEST/mumbai/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chaloBEST/mumbai/models.py b/chaloBEST/mumbai/models.py index 2cd6ecc..1851bfd 100644 --- a/chaloBEST/mumbai/models.py +++ b/chaloBEST/mumbai/models.py @@ -180,7 +180,7 @@ class Stop(models.Model): 'name_mr': self.name_mr, 'direction': self.dbdirection, 'routes': ", ".join([r.alias for r in routes]), - '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()]), 'url': self.get_absolute_url() }