Hi,
Problem solved, in my template i put the following:
http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
And the following line before my the head tag:
Now i get the result that i want, without any strange characters.
Thanks!
--~--~-~--~~~---~--~~
You re
Hello,
Sorry thats not the real template, it's this one:
{% for d in data %}
{{ d.pregunta.id }}
{{ d.pregunta.descripcion_pregunta}}
{{ d.respuesta }}
{{
d.pregunta.tipo_pregunta.nombre_tipo }}
Hello,
This is my template(actually is only the part where the for cycle
returns the results i need):
{% for r in rendicion %}
{{forloop.counter}}
{{r.comuna.nom_comuna|upper}}
{{r.comuna.region.nom_region}}
{{
Hello Kian,
Could you show us your template too? And why are you importing the csv
module when you're not using it? I would use the csv module to
generate the CSV completely in the view, but that's me.
2008/12/9, garces.85 <[EMAIL PROTECTED]>:
>
> Hello Kian,
>
> I have already tried this respon
Hello Kian,
I have already tried this response, the problem is that in my excel
output i get this strange characters.
For example all my grammar words return like weird characters.
Example :
If i have this word : ( Módulo) It becomes something like this : (MA3-
dulo).
I am working with a latin
Try this :
response['Content-Disposition']='attachment;filename=output.xls'
That worked for me.
On Sun, Dec 7, 2008 at 2:14 AM, garces.85 <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I need some urgent help. I have a function that generates a report in
> excel, the report returns the data that i
6 matches
Mail list logo