Commits

offline committed 5dac264

another field bugfix

Comments (0)

Files changed (2)

 
 setup(
     name = "django-tsearch2",
-    version = "0.0.1",
+    version = "0.0.2",
     packages = find_packages(),
     author = "Anderson",
     author_email = "self.anderson@gmail.com",
     long_description = """
         **Download:**
 
-            - hg clone https://offline@bitbucket.org/offline/django-tsearch2/
+            - hg clone http://bitbucket.org/offline/django-tsearch2/
 
     """,
     license = "BSD",
-    keywords = "django",
+    keywords = "django postgresql postgres fulltext search",
     url = "http://bitbucket.org/offline/django-tsearch2/wiki/Home",
 )
 

tsearch2/fields.py

         super(VectorField, self).contribute_to_class(cls, name)
 
         # Make this object the descriptor for field access.
-        setattr(cls, cls._meta.tsvector_field_name, self)
+        setattr(cls, name, self)