def ready(self): Categoria = self.get_model('categoria') Proveedor = self.get_model('proveedor') Startup = self.get_model('startup') algoliasearch.register(Categoria, CategoriaIndex) algoliasearch.register(Proveedor, ProveedorIndex) algoliasearch.register(Startup, StartupIndex)
def ready(self): from actstream import registry article = self.get_model('Article') algoliasearch.register(article, ArticleIndex) registry.register(article)
def ready(self): Post = self.get_model('Post') algoliasearch.register(Post, PostIndex)
def ready(self): Song = self.get_model('Song') algoliasearch.register(Song, SongIndex)
def ready(self): Trabajo = self.get_model('trabajo') algoliasearch.register(Trabajo, TrabajoIndex)
def ready(self): Contact = self.get_model('Contact') algoliasearch.register(Contact, ContactIndex)
def setUp(self): class ExampleIndex(AlgoliaIndex): field = 'name' register(Example, ExampleIndex) self.output = StringIO()
def ready(self): Idea = self.get_model('Idea') algoliasearch.register(Idea, IdeaIndex)
def ready(self): Juego = self.get_model('juego') algoliasearch.register(Juego, JuegoIndex)
def ready(self): Color = self.get_model('color') algoliasearch.register(Color, ColorIndex)
def ready(self): Question = self.get_model('Question') algoliasearch.register(Question)
def ready(self): product = self.get_model('Product') algoliasearch.register(product, ProductIndex)