Hi all, im new to mezzanine and I think its awesome.
I am trying to follow the
documentation http://mezzanine.jupo.org/docs/search-engine.html to made
searchable my custon contentype
My models.py looks more or less like this:
class Galeria(Page):
pass
class Item(models.Model):
gallery = models.ForeignKey(Galeria, related_name="gallery")
name = models.CharField(max_length=30)
description_1 = RichTextField(blank=True,null=True)
objects = SearchableManager()
search_fields = ("name", "description_1" )
I also have {%search_form "galeria.Item" %}.
However, when i try the search, it returns me nothing. ¿What am i doing
wrong?
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.