From 3f4d479ffea65e769ce0c4581bed61f34e79d7da Mon Sep 17 00:00:00 2001 From: Johnson Chetty Date: Fri, 5 Oct 2012 16:25:32 +0200 Subject: [PATCH] route method headways() tweak 1.2 --- chaloBEST/mumbai/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chaloBEST/mumbai/models.py b/chaloBEST/mumbai/models.py index b84bd61..3d6b3e2 100644 --- a/chaloBEST/mumbai/models.py +++ b/chaloBEST/mumbai/models.py @@ -277,7 +277,8 @@ class Route(models.Model): 'alias': self.alias, 'slug': self.slug, 'distance': str(self.distance), - 'url': self.get_absolute_url() + 'url': self.get_absolute_url(), + 'headways': self.headways() } def areas_passed(self):