Hello All

I found that I can set mime type for generated templates by simply
writing in my views:

return HttpResponse(t.render(c), mimetype='text/html;
charset=windows-1251')

This is for example if I want russian-only service without i18n. But I
can't find a similar option in render_to_response() Is it possible ? Or
may be there is an option in settings.py where I could set up character
set for the whole project to anything else except utf-8 ?


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to