[Grok-dev] Migrating catalog indexes
    Simon Jagoe 
    azriphale at gmail.com
       
    Thu Nov 26 18:26:42 EST 2009
    
    
  
>    def render(self):
>        from hurry.query.query import Query, Eq
>        return str([r.__name__ for r in Query().searchResults(
>                    Eq(('slalom_result_catalog', 'did_fall'), True))])
Sorry that should have been edited to the catalog name 'my_catalog'.
I didn't check over it thoroughly enough before sending. Render method
would be:
    def render(self):
        from hurry.query.query import Query, Eq
        return str([r.__name__ for r in Query().searchResults(
                    Eq(('my_catalog', 'did_fall'), True))])
    
    
More information about the Grok-dev
mailing list