Assuming I understood what you're trying to do, why not write a template tag
(more specifically, an inclusion tag)?


Cheers,
AT

On Thu, Aug 18, 2011 at 11:47 AM, samuele.mattiuzzo <samum...@gmail.com>wrote:

> I'm not using haystack, since is strictly model-related. My solr
> instance isnt' bound to any model (since i don't use any backend DB to
> store my data)
>
> i need something like get_full_path or get_absolute_url, but not
> modell-related in this case...
>
>
>
> On 18 Ago, 16:37, Andre Terra <andrete...@gmail.com> wrote:
> > Searching with Django =http://haystacksearch.org/
> >
> > Behold the power of pluggable apps.
> >
> > Cheers,
> > AT
> >
> > On Thu, Aug 18, 2011 at 11:34 AM, samuele.mattiuzzo <samum...@gmail.com
> >wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Hi!
> > > I'm stuck with a problem... more confused than stuck, actually.
> >
> > > I have a search engine i'm working on, and we're using GET method to
> > > perform searches. In the listing page, i have my search results on the
> > > left and some filters on the right, something like google's filter.
> >
> > > my filters are all <a href="">blabla</a>
> >
> > > what i need to do, and i don't know how, is:
> >
> > > 1 - get url parameters
> > > 2 - for each filter modify the correct parameter
> >
> > > example:
> >
> > >www.mysite.com/?name=apple&date=now&sex=male
> >
> > > for "name" filters:
> >
> > > <a href="www.mysite.com/?name=<new_val>&date=now&sex=male">new_val</a>
> >
> > > i don't know what to look for, maybe the {{ url }} tag can help me,
> > > but i don't know how to get_and_modify a specific param :(
> >
> > > can anybody help me? thanks!
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Django users" group.
> > > To post to this group, send email to django-users@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.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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.

Reply via email to