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
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
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
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:
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,
5 matches
Mail list logo