Re: Deciding how to start building a search form
Thanks adam, that was the direction I was looking for. On Feb 23, 4:57 pm, Andy McKaywrote: > On 2010-02-23, at 12:50 PM, Nick wrote: > > > Anyways, what I'm wondering is, should I build this up by hand or > > should I use something like haystack? I am only querying against a DB > > and not en entire site. > > Doing a search on one model is pretty straightforward. If however you need to > do full text searches or searches on more than one model at a time, then you > will need something like haystack. > -- > Andy McKay, @clearwind > http://clearwind.ca/djangoski -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Deciding how to start building a search form
On 2010-02-23, at 12:50 PM, Nick wrote: > Anyways, what I'm wondering is, should I build this up by hand or > should I use something like haystack? I am only querying against a DB > and not en entire site. Doing a search on one model is pretty straightforward. If however you need to do full text searches or searches on more than one model at a time, then you will need something like haystack. -- Andy McKay, @clearwind http://clearwind.ca/djangoski -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Deciding how to start building a search form
I have seen many messages about this but I am at a loss for what to do. Currently I am building a DB of state representatives. This DB has to other tables besides that of the actual representative. Those tables are for committees those members are part off. I use manytomany and foreign key relationships to match Reps to their committees. What I am looking to do is build a search form that will allow me to query against the DB with several advanced search options for "type of representative (senate or congress)" "home town" "district" "last name". A few of these will be boolean/checkbox fields and some will be text fields. Anyways, what I'm wondering is, should I build this up by hand or should I use something like haystack? I am only querying against a DB and not en entire site. Thanks in advance, Nick -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.