Kevin Dangoor wrote:
> On 2/16/06, Simon Belak <[EMAIL PROTECTED]> wrote:
>> Only problematic module is big_widgets, specifically
>> AutoCompleteDesc.search.
>> I haven't worked or even looked at widgets much, so I can't offer any
>> solution but is there really no way around this? Aside from aesthetics,
>> performance suffers as well. Not to mention, if we are careless, this
>> could become a major problem down the road.
>
> I don't understand. AutoCompleteDesc.search isn't using anything at
> all from outside the big_widgets module. How could it cause import
> issues?
big_widgets.py, line 130 and onward:
def search(self, statename):
statename = statename.lower()
return dict(states=
filter(lambda item: statename in item.lower(),
self.states))
search = expose(format="json")(search)
Just a lonely expose.
Cheers,
Simon
P.S. sorry if this turns out to be a double post, but it seems my
original message got stuck somewhere.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---