Re: acute (á, é, etc) characters in my templates

2007-07-26 Thread vida
That did it. Thanks. On Jul 26, 11:56 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 7/26/07, vida <[EMAIL PROTECTED]> wrote: > > > As of 5764 (today, 1 AM) it still doesn't work. > > If your template files are in an encoding other than UTF-8, yo

Re: acute (á, é, etc) characters in my templates

2007-07-26 Thread vida
As of 5764 (today, 1 AM) it still doesn't work. On Jul 26, 1:41 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 7/26/07, vida <[EMAIL PROTECTED]> wrote: > > > I get a UnicodeDecodedError if I try to include any of these acuted- > > characters in m

acute (á, é, etc) characters in my templates

2007-07-25 Thread vida
I get a UnicodeDecodedError if I try to include any of these acuted- characters in my templates. It's fine if they come from the database (unicode) but not if they are part of the markup. >From what I read (and tried), changing settings.DEFAULT_CHARSET and/or settings.LANGUAGE_CODE doesn't/won't

Checking group permissions in template code

2007-05-31 Thread vida
After reading the docs and looking for posts relating this problem here and in .developers, I found no "standard" way of checking for a user's group permissions in the templates. So what I did is to add the following method to auth.models.User (yeah, yeah, it *should* be in