Encoding problem in Django admin logging (BUG?)

2006-08-18 Thread libraM
Hello. I think there is a problem in django.contrib.admin.models code: string slice ("object_repr[:200]") doesn't respect multibyte encodings (UTF8). class LogEntryManager(models.Manager): def log_action(self, user_id, content_type_id, object_id, object_repr, action_flag, change_message='')

Re: Overriding .save and Image upload

2006-09-11 Thread libraM
Hello, hope this will help: http://groups.google.com/group/django-users/browse_frm/thread/ad819fa9daa9e51/e514ba4c416e1b0a?lnk=gst&q=Sandro&rnum=2#e514ba4c416e1b0a Good luck, Alex. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Ordering problems

2006-09-15 Thread libraM
Hello, Seth. Try this (half worked for me): http://groups.google.com/group/django-users/browse_frm/thread/d6aea50e82c7bc04/05882c3dfc0bec55?lnk=gst&q=ForeignKey+ordering&rnum=3#05882c3dfc0bec55 Good luck, Alex. --~--~-~--~~~---~--~~ You received this message bec

PATCH unique_together validation

2006-09-15 Thread libraM
Hello! Seems like another Django admin's defect with long history and easy solution ;) For patch, see http://code.djangoproject.com/ticket/2019 --- "manipulator_validator_unique_together does not work correctly". Good luck! Alex. --~--~-~--~~~---~--~~ You re

Re: PATCH unique_together validation

2006-09-18 Thread libraM
Sadly not so easy solution... :( The patch breaks *blank* ForeignKey fields used in unique_together (see coments on #2019). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this grou