List Info

Thread: Unicode strings through Database API




Unicode strings through Database API
user name
2006-06-30 21:49:11
On 6/30/06, Jeremy Dunck <jdunckgmail.com> wrote:
> On 6/30/06, Paul <psargegmail.com> wrote:
> > The string I'm assigning to the field is a
unicode string. Django is
> > trying to do a .encode('ascii') on it and
failing. Understandable
> > really
>
> Are you sure it's the unicode type, and not just a
byte string?

Sorry, just looked at the traceback.  :-/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )