From 393d0f029146d8e07ab20f137f3acb79c9a49584 Mon Sep 17 00:00:00 2001 From: Schuyler Erle Date: Sat, 27 Aug 2011 18:27:47 -0700 Subject: [PATCH] Fix manager import error --- gazetteer/places/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gazetteer/places/models.py b/gazetteer/places/models.py index e5057fc..d68a911 100644 --- a/gazetteer/places/models.py +++ b/gazetteer/places/models.py @@ -1,5 +1,5 @@ from django.db import connection -from django.contrib.gis.db import models, manager +from django.contrib.gis.db import models # Create your models here. @@ -10,7 +10,7 @@ class AuthorityRecord(models.Model): def __unicode__(self): return self.preferred_name -class FeatureSearchManager(manager.GeoManager): +class FeatureSearchManager(models.GeoManager): def set_threshold(self, threshold): """Set the limit for trigram similarity matching.""" cursor = connection.cursor