Thanks for everyone's advice.
My final solution will be to use template inheritance to have the same form
across the site and to use the action="/search" to ensure I don't have to
import a search function into every single view.
Thanks again
Wes
On 8 August 2010 19:36, kostia wrote:
> Yes, so
Yes, somebody can use template tag, somebody content processor and the
most intuitive solution is to use template inheritance, as was
suggested.
Thank you, Tim. Wish you good luck. I loved your musician web site.
--
You received this message because you are subscribed to the Google Groups
"Djan
What about creating a template_tag for the form? Is that a good way to add
it to several templates?
2010/8/8 Roald de Vries
> On Aug 8, 2010, at 2:04 PM, Tim Sawyer wrote:
>
>> What I do is to setup a search that works at /search/q=search_term, and
>> then create a form on each page that submits
On 08/08/10 14:48, kostia wrote:
To continue, Tim, do you use haystack? I passed its beginning tutorial
and configured with xapian through haystack-xapian module. Now I'm
discovering the other haystack docs and api. Not everything is clear.
For example I have a user with name Bob. When I type in
On Aug 8, 2010, at 2:04 PM, Tim Sawyer wrote:
What I do is to setup a search that works at /search/q=search_term,
and then create a form on each page that submits to /search.
This form is in my top level site template. The /search/ url is
part of a search application.
There's an exa
Also I will be happy if someone can explain the drill-down (faceting)
or “More Like This” features.
--
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 grou
It seems the question is answered.
To continue, Tim, do you use haystack? I passed its beginning tutorial
and configured with xapian through haystack-xapian module. Now I'm
discovering the other haystack docs and api. Not everything is clear.
For example I have a user with name Bob. When I type in
On 8/8/2010 5:41 AM, wchildsuk wrote:
> Hi,
>
> I want a search field on all my pages and was wondering the best way
> to do this. I could create a function and import it to every view but
> this doesn't seem to follow the django DRY principles.
>
> I was wondering if anyone had any advice on how
What I do is to setup a search that works at /search/q=search_term, and
then create a form on each page that submits to /search.
This form is in my top level site template. The /search/ url is part of
a search application.
There's an example of this working at http://www.brassbandresult
9 matches
Mail list logo