use new under_score ox api
This commit is contained in:
parent
caad5d4474
commit
e655d0ecf8
|
@ -1,7 +1,7 @@
|
|||
from django.db import models
|
||||
import operator
|
||||
from django.db.models import Q
|
||||
from ox.text import smartSplit
|
||||
import ox
|
||||
from ox.django.fields import DictField
|
||||
from django.core.paginator import Paginator, InvalidPage, EmptyPage
|
||||
from django.template.loader import render_to_string
|
||||
|
@ -14,7 +14,7 @@ import datetime
|
|||
|
||||
def splitSearch(string):
|
||||
ret = []
|
||||
for s in smartSplit(string):
|
||||
for s in ox.smart_split(string):
|
||||
word = s.replace("'", "").replace('"', '')
|
||||
ret.append(word)
|
||||
return ret
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Django==1.3
|
||||
ox
|
||||
ox>=2.1.0
|
||||
|
||||
-e bzr+http://firefogg.org/dev/python-firefogg/#egg=python-firefogg
|
||||
-e bzr+http://firefogg.org/dev/django_firefogg/#egg=django_firefogg
|
||||
|
|
Loading…
Reference in New Issue
Block a user