Re: Getting and modifying url parameters in template: howto?

2011-08-19 Thread samuele.mattiuzzo
; AT > > On Thu, Aug 18, 2011 at 11:47 AM, samuele.mattiuzzo 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

Re: Getting and modifying url parameters in template: howto?

2011-08-18 Thread samuele.mattiuzzo
re Terra 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 wrote: > > > > > > > > > Hi! > > I'm stuck with a problem... mo

Getting and modifying url parameters in template: howto?

2011-08-18 Thread samuele.mattiuzzo
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 bl

Re: Generating urls for a search-engine-like application

2011-08-10 Thread samuele.mattiuzzo
o i don't have a "special" case (as the city-only) i can deal with easily :( On Aug 10, 4:29 pm, Reinout van Rees wrote: > On 10-08-11 15:50, samuele.mattiuzzo wrote: > > > I was considering the option/country/italy/city/milan/job/engineer/, > > it wasn't that ba

Re: Generating urls for a search-engine-like application

2011-08-10 Thread samuele.mattiuzzo
too much with them :) On Aug 10, 4:09 pm, Venkatraman S wrote: > On Wed, Aug 10, 2011 at 2:50 PM, samuele.mattiuzzo wrote: > > > my boss told me to use get requests instead of post, so i could > > explicit the parameters, but SEO experts said "NO WAY!". i don't li

Re: Generating urls for a search-engine-like application

2011-08-10 Thread samuele.mattiuzzo
einout van Rees wrote: > On 10-08-11 11:20, samuele.mattiuzzo wrote: > > > > > url(//, search_view), > > url(//, search_view), > > url(///, search_view) > > > as you can see, case 1 and case 2 are a trouble: country and city are > > both strings, how&#x

Re: Generating urls for a search-engine-like application

2011-08-10 Thread samuele.mattiuzzo
ity to do so. > > On Wed, Aug 10, 2011 at 2:50 PM, samuele.mattiuzzo wrote: > > > > > > > > > Hi all, i'm developing a search-engine-like application using django > > 1.3 and apache-solr as "database" > > > I'm now stuck with urls

Generating urls for a search-engine-like application

2011-08-10 Thread samuele.mattiuzzo
Hi all, i'm developing a search-engine-like application using django 1.3 and apache-solr as "database" I'm now stuck with urls handling. Basically, i need to compose urls with the parameters used to query solr. Fair enough, but i faced a problem. Basically, you can filter your results by choosing

Django and (d)ajax: forms, checkboxes, hrefs... a bit of everything (howto?)

2011-07-26 Thread samuele.mattiuzzo
Sorry for the title, but i'm trying as hard as i can to learn (d)ajax and i have few problems. I'm trying to deploy something like this: http://case.trovit.it/index.php/cod.search_homes/type.1/what_d.New York/ on the left side, there's a bunch of link (facets). i need to have something similar wi

Re: Django: forms and custom templates

2011-07-15 Thread samuele.mattiuzzo
I figured out i have to override the default form classes of django i have to create a CustomCheckboxSelectMultiple(CheckboxSelectMultiple) class and override the "render" method, making it generate the html i want for my particular cases -- You received this message because you are subscribed t

Re: Django: forms and custom templates

2011-07-15 Thread samuele.mattiuzzo
> Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Im > Auftrag von samuele.mattiuzzo > Gesendet: Freitag, 15. Juli 2011 09:43 > An: Django users > Betreff: Django: forms and custom templates > > basic problem: i need to create real customized templates fo

Django: forms and custom templates

2011-07-15 Thread samuele.mattiuzzo
basic problem: i need to create real customized templates for my django forms. That's it. I'm used to style the forms based on django's output. This time is different, the html/css template is already done (months before i was hired) and i cannot modify it, so i need django to output exactly that h

Re: "Include" tag and dynamically generated file to include

2010-11-09 Thread samuele.mattiuzzo
Ok, i'll stick with the building up into the view! Thanks, by searching older posts i found something, so i'll read those. Thanks again! On 9 Nov, 13:09, Daniel Roseman wrote: > On Nov 9, 10:25 am, "samuele.mattiuzzo" wrote: > > > > > > > Hi all,

"Include" tag and dynamically generated file to include

2010-11-09 Thread samuele.mattiuzzo
Hi all, i have a problem with a django template. i have a value (a number) stored into a mysql database and i'm accessing it using {{ totem.layout.communitySpace }} This number sould be used to get a page: {% include "bacheche/clip_{{ totem.layout.communitySpace }}.html" %} and it should return