Kenneth Gonsalves wrote:

hi

i have a model which has a unicode string in one field. In admin I can save and update the model. In my view, using custom manipulators i can create new models using model.objects.create. But when i try to update and save the model in a view, I get a ProgrammingError. But the error message does not specify what the programming error is. Just says 'current transaction is aborted, commands ignored until end of transaction block SET TIME ZONE 'Asia/Calcutta'. On looking at the traceback i get in

I have seen this before. I believe the thing is that your database driver does not support unicode. Try to encode it to something.

--
Christian Joergensen | Linux, programming or web consultancy
http://www.razor.dk  |     Visit us at: http://www.gmta.info

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to