I have added textile.py to my project dir and can successfully import it in the shell. I have extended one of my models with a save method which copies the content from one field, textiles it, then saves it another column.
def save(self): import textile self.body = textile.textile(self.source) super(Post, self).save() #call the "real" save method When I try and add one of the posts using the admin app I get the following error. Exception Type: UnicodeDecodeError Exception Value: 'ascii' codec can't decode byte 0xb4 in position 0: ordinal not in range(128) I am using the django trunk. Any ideas what I am doing wrong? Thanks, Martin. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---