From ddf45b9fdeee2e57bc6276afee5f8d72a8d3bc18 Mon Sep 17 00:00:00 2001 From: Johnson Chetty Date: Sat, 31 Mar 2012 11:07:18 +0200 Subject: [PATCH] Uniqueroute admin shows the from and to txt data as well --- chaloBEST/mumbai/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chaloBEST/mumbai/admin.py b/chaloBEST/mumbai/admin.py index 604741e..7e1889d 100644 --- a/chaloBEST/mumbai/admin.py +++ b/chaloBEST/mumbai/admin.py @@ -49,7 +49,7 @@ class FareAdmin(admin.ModelAdmin): } class UniqueRouteAdmin(admin.ModelAdmin): - list_display = ("route","from_stop", "to_stop","distance","is_full") + list_display = ("route","from_stop", "from_stop_txt", "to_stop", "to_stop_txt", "distance","is_full") readonly_fields = ("route","distance","is_full") search_fields = ("route__alias", "from_stop__name", "to_stop__name") ordering = ('route',)