Hello Djangoer,
I am trying to create website with foreign language in it. I have
created model for content type and added one page in it. It saving
fine in database. When I have tried to write view model for this page.
Its showing me "?" rather then foreign character. I am new born
baby in d
On Sat, Oct 10, 2009 at 9:15 AM, Rizwan wrote:
>
> Hello Djangoer,
>
> I am trying to create website with foreign language in it. I have
> created model for content type and added one page in it. It saving
> fine in database. When I have tried to write view model for this page.
> Its showing me "
I am trying to extend flatpage view...I have added custom code
here..you can see navigation showing question mark here
http://beta.rmansuri.net/homepage/
from django.contrib.flatpages.models import FlatPage
from django.template import loader, RequestContext
from django.shortcuts import get_objec
You may want to check how the encoding is set in your database. Make sure
you are using utf-8.
On Sat, Oct 10, 2009 at 9:43 PM, Rizwan wrote:
>
> I am trying to extend flatpage view...I have added custom code
> here..you can see navigation showing question mark here
> http://beta.rmansuri.net/ho
I did change my encoding to utf-8. As its showing character very well
in flatpages. I would like extend this flatpage view code. so I have
lookup from database which render foreign string which not displaying
as it should be.
Thanks,
On 11 Oct, 11:59, Joshua Russo wrote:
> You may want to check
On Sat, Oct 10, 2009 at 6:43 PM, Rizwan wrote:
>
> I am trying to extend flatpage view...I have added custom code
> here..you can see navigation showing question mark here
> http://beta.rmansuri.net/homepage/
>
>
> [snip]
>#custom code start
>db = MySQLdb.connect
> (user='rmansuri_gq',db=
6 matches
Mail list logo