2008/9/21 Malcolm Tredinnick <[EMAIL PROTECTED]>:
>
>
> On Sun, 2008-09-21 at 12:44 +0200, Alessandro wrote:
>> I have a search form.
>> When a user inserts a string like "Forlì", django returns a blank page.
>> I need to convert ì to a url encoded string, but I don't know how to do.
>
> You haven't explained where the problem is occurring. Is the correct
> data getting to your view function and then you aren't sending back the
> right information? If so, look at django.utils.http. I can't see how
> that would be resulting in a completely blank page, however. Also "a
> blank page" could be more accurate: is no data at all being sent back?
> Or is the user receiving an HTML page, but there's not visible data?

It seems now It works, because
http://www.animalisenzacasa.org/ricerca/?s=forlì
is converted to:
http://www.animalisenzacasa.org/ricerca/?s=forl%C3%AC

I don't know what's changed, because this morning the result was an
empty page (with source code white, and a correct http header).

-- 
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net

SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543 798985 - Fax: +39 0543 579928

Rispetta l'ambiente: se non ti è necessario, non stampare questa mail

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to