From f2b7ddd7b42fd70f17aaba07f2d44e243bc97955 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 24 Feb 2012 00:40:49 +0530 Subject: [PATCH] type needs index too --- pandora/place/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/place/models.py b/pandora/place/models.py index 74c28b93..038f343b 100644 --- a/pandora/place/models.py +++ b/pandora/place/models.py @@ -38,7 +38,7 @@ class Place(models.Model): countryCode = models.CharField(max_length=16, default='', db_index=True) wikipediaId = models.CharField(max_length=1000, blank=True) - type = models.CharField(max_length=1000, default='') + type = models.CharField(max_length=1000, default='', db_index=True) south = models.FloatField(default=None, null=True, db_index=True) west = models.FloatField(default=None, null=True, db_index=True)