replaced text_score attribute to get_text_score method

Signed-off-by: Wilson Júnior <wilsonpjunior@gmail.com>
This commit is contained in:
Wilson Júnior
2014-11-29 23:09:26 -02:00
parent d27e1eee25
commit 74a89223c0
3 changed files with 23 additions and 18 deletions

View File

@@ -143,13 +143,6 @@ class Document(BaseDocument):
return property(fget, fset)
pk = pk()
@property
def text_score(self):
"""
Used for text searchs
"""
return self._data.get('text_score')
@classmethod
def _get_db(cls):
"""Some Model using other db_alias"""