ordering and GenericForeignKey

2007-04-17 Thread xav4django
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I use the ordering in admin interface. My sample class with GenericForeignKey class MyClass(models.Model): content_type = models.ForeignKey(ContentType) object_id = models.PositiveIntegerField() content_object = models.GenericForei

Re: gettext & UnicodeDecodeError

2007-04-13 Thread xav4django
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sandro.dentella a écrit : > Thanks! that was it. Now I can reproduce the error. Which is the > "correct" solution? > > An easy and not really nice one is to encode title into > DEFAULT_CHARSET, but I'd rather > have _() return an unicode object. How