Hi there! I'm brand new user of django.. So, please, don`t be ugly,
if I`m missing something elementary ^_^
I use django.views.generic.create_update to generate an editing/
inserting form from the Model.
In Model I have a StringProperty which value could be chosen from the
set of possible values ( utf8-encoded strings) .
Well, the troubles are:
1) In the resulting form I receive unreadble unicode instead of
appropriate symbols:
<option value="(1, '\xd0\x90\xd0\xb2\xd0\xb8\xd0\xb0')">(1,
'\xd0\x90\xd0\xb2\xd0\xb8\xd0\xb0')</option>
2) I don't want to get
value="(1, '\xd0\x90\xd0\xb2\xd0\xb8\xd0\xb0')
I'd prefer
<option value="1">Авто</option>
In advance - Thanks for advices!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---