On 15-Oct-07, at 10:57 AM, Malcolm Tredinnick wrote:
> So, in the rare case where, say, self.sponsor is a UTF-8 string,
> Kenneth's version might lead to trouble down the track -- but I would
> have thought that trouble would be mis-displayed strings, rather
> than a
> crash.
ok - when I put
On Mon, 2007-10-15 at 00:10 -0500, Jeremy Dunck wrote:
> On 10/14/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> ...
> > class Sponsorship(models.Model):
> > """ links child to sponsor, startdate enddate and comments"""
> > sponsor =
On 10/14/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
...
> class Sponsorship(models.Model):
> """ links child to sponsor, startdate enddate and comments"""
> sponsor = models.ForeignKey(Sponsor,verbose_name=_("Sponsor"))
> child =
On 08-Oct-07, at 7:36 AM, Malcolm Tredinnick wrote:
>> name = CharField of some some length and have
>> __unicode__() = "%s" %(self.name)
>>
>> in admin enter a finnish word with special characters like: Asikainen
>> Päivi ja Jorma. On saving, or after saving, on trying to edit the
>> word I
On 08-Oct-07, at 7:36 AM, Malcolm Tredinnick wrote:
> So keep hunting and do let us know if you find anything.
will work on it - am busy for a couple of days - thanks for taking
the trouble
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
On Mon, 2007-10-08 at 06:43 +0530, Kenneth Gonsalves wrote:
[...]
> I could not give the full traceback as the problem occured on a
> production server and after I did a hack to fix it, I could not find
> the error message again. I have reproduced the problem. I am using
> python 2.4 and
On 07-Oct-07, at 8:25 PM, Malcolm Tredinnick wrote:
> doing to cause the issue. It's also important to note which version of
> Python you are using, as well as the database and the database
> encoding
> (and databse backend in the case of mysql or postgresql, since
> there are
> differences
On Sun, 2007-10-07 at 12:28 +0530, Kenneth Gonsalves wrote:
> Hi,
>
> after upgrading to the unicode branch - I am using svn trunk, I find
> that in the changelist, when I want to change an entry where there
> are non-ascii characters in the name, I am getting an ascii cant
> decode the
Did you rename your model's __str__ method to __unicode__? That's one of
the things you need to do when upgrading to post-unicode Django trunk.
There's a short checklist of things to change/look for in your code here:
Hi,
after upgrading to the unicode branch - I am using svn trunk, I find
that in the changelist, when I want to change an entry where there
are non-ascii characters in the name, I am getting an ascii cant
decode the non-ascii characters. This is appearing in line 15 of
change_form.html,
10 matches
Mail list logo