Re: utf-8 text in models with coding: keyword

2008-09-11 Thread Elizabeth Kellner
On 11 Sep., 14:27, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > > Text in utf-8 is not unicode, this is bytestring (what we had in 0.96   > in __str__). From __unicode__ you have to return unicode ubjects, not   > utf-8 encoded bytestrings. This is important to know, and that was the root of the

utf-8 text in models with coding: keyword

2008-09-11 Thread Elizabeth Kellner
Hi. I have a UnicodeDecodeError error that I can't seem to get rid of. My model has utf-8 text, which is being returned in the model's __unicode__ function. However, I can't seem to use the expression ("%s" % object) to coerce my utf-8 into a string, without it tring to decode the string as

Missing traceback for 500 errors

2008-07-01 Thread Elizabeth Kellner
The full python traceback is missing from my apache logs. In fact, I've just seen that the only notification of a 500 error is in access_log and the browser. Can anyone suggest any place to look to see why this is the case? Here is the python view that I am using to test... def

Re: Timestamped comment field

2008-06-20 Thread Elizabeth Kellner
I just implemented pretty much exactly what you are looking to do by using the comments module, and it worked right out of the box. The module's a little complicated, but I found that it was easy to just leave most functionality out. I followed along with the instructions here:

Re: model inheritance and admin (qs-rf & nf-a)

2008-06-02 Thread Elizabeth Kellner
On 28 Mai, 14:15, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > Model inheritance is not supported by the admin: > > http://code.djangoproject.com/ticket/6755 > > There's a patch on that ticket, but I have no idea if it works, solves the > complete problem, etc.  (If it were as easy as that patch,