This commit is contained in:
Sanj 2011-08-28 07:05:55 +05:30
parent cc0e7e4ae6
commit 640b59825a

View File

@ -37,7 +37,7 @@ class Feature(models.Model):
time_frame = models.ForeignKey("TimeFrame", null=True, blank=True) time_frame = models.ForeignKey("TimeFrame", null=True, blank=True)
relationships = models.ManyToManyField("Feature", through='Relationship', blank=True) relationships = models.ManyToManyField("Feature", through='Relationship', blank=True)
objects = models.GeoManager() objects = models.GeoManager()
search = models.FeatureSearchManager() search = FeatureSearchManager()
class Meta: class Meta:
ordering = ['preferred_name'] ordering = ['preferred_name']