Hello listmates,

I've read on the list that some of you are using haystack [1] with Satchmo.

I've been writting some indexes but my experience with satchmo and
haystack is quite basic yet.

I'd like to do a filter by price and by category.. so in my indexes I have this.

from product.models import Product, Price
from haystack import indexes, site


class ProductIndex(indexes.SearchIndex):
    text = indexes.CharField(document=True, use_template=True)


def index_queryset(self):
        return Product.objects.active()


site.register(Product, ProductIndex)

But I cannot filter by categories and price and I really don't know
how to implement this, anybody did it? can give me any hint?

Cheers.


[1] http://django-haystack.readthedocs.org/

-- 
Ángel Velásquez
Jedi Master CTO
Bixti.com
[email protected]
(00549)11.5980.7308
skype: angelvelasquez_ve
github: angvp

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" 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/satchmo-users?hl=en.

Reply via email to