eCommerce Search

39 Aufrufe
Direkt zur ersten ungelesenen Nachricht

John Rodkey

ungelesen,
17.12.2014, 10:20:2217.12.14
an django...@googlegroups.com
Hi All, I apologize if this has been answered, but what is the best way to search/query a model based on filters. 

For example, say we are setting up a shoe site. What is the best way to allow customers to search for shoes by brand, color, size, and/or price.  I would prefer to make these dropdowns in the templates, I'm just not sure how to build this functionality in the view.

I would appreciate any direction.

werefrog

ungelesen,
17.12.2014, 15:30:1317.12.14
an django...@googlegroups.com
Hi John,

You might want to search for django+faceted+search. Is it what you're
looking for?

Best regards

John Rodkey

ungelesen,
17.12.2014, 16:11:3817.12.14
an django...@googlegroups.com
Yes, that is what I'm looking for.  I'm new to the Django world and was curious if there is already a good existing package.  I will search for django faceted search.

Jonathan Baker

ungelesen,
17.12.2014, 16:20:5217.12.14
an django...@googlegroups.com
Also, check out: https://github.com/alex/django-filter
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/d2097d0d-7a73-4910-9382-8136d58a05d6%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
Jonathan D. Baker
Developer
http://jonathandbaker.com

Patti Chen

ungelesen,
18.12.2014, 13:04:1218.12.14
an django...@googlegroups.com
You can use haystack(http://haystacksearch.org/) to communicate with
search engines.
> To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPMFOb7q0vxgApt6RfXKj2%3DvJWDe2YcRQ77Kh6p4brJz8Kb_pQ%40mail.gmail.com.
Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten