Re: i18 returns me an UnicodeDecodeError

2008-08-26 Thread Jose Jiménez
Ok, i will try to update to the development version. Thanks for your response. On 25 ago, 17:32, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2008-08-24 at 23:29 -0700, Jose Jiménez wrote: > > Hello, > > > i'm using the stable version (0.96.2) of Django.

i18 returns me an UnicodeDecodeError

2008-08-24 Thread Jose Jiménez
Hello, i'm using the stable version (0.96.2) of Django. When newforms library try to returns a field's validation error, if his translation contains any accent, it returns me an UnicodeDecodeError. If i deactivate i18n in settings.py all runs correctly (showing the messages in english). The error

Re: "for key, value" in 0.96

2008-03-04 Thread Jose Jiménez
Thank you very much everybody. I suspect that was a trunk's functionality. I solved it using a list of tuples. Thanks again. On 26 feb, 00:02, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Mon, 2008-02-25 at 10:21 -0800, Jose Jiménez wrote: > > Hello everybody, >

"for key, value" in 0.96

2008-02-25 Thread Jose Jiménez
Hello everybody, i'm developing an application with the lates stable release of django (0.96). In the trunk version, i can do "for key, value in variable", but in the 0.96 version i take an error: 'for' statements with five words should end in 'reversed': for key, value in variable How can i ac

Re: How to create groups from code?

2007-11-21 Thread Jose Jiménez
> using pyyaml (it's database backend independent) > > Jose Jiménez пишет: > > > Hello everybody, > > > I'm starting a project in django. I need some custom permissions that > > i created in the model with "class Meta". Now i need to create > >

How to create groups from code?

2007-11-20 Thread Jose Jiménez
so, if other person downloads the code and installs django, could make a "syncdb" and automagically has the same groups. I've been looking for in google but i haven't found anything. Is it possible?? Sorry for my english, i hope you understand me. Th