#4620: Custom labels for choices in ModelChoiceField
----------------------------------------------+-----------------------------
Reporter: Bill Fenner <[EMAIL PROTECTED]> | Owner: nobody
Status: reopened | Component:
django.newforms
Version: 0.96 | Resolution:
Keywords: | Stage: Accepted
Has_patch: 1 | Needs_docs: 1
Needs_tests: 1 | Needs_better_patch: 1
----------------------------------------------+-----------------------------
Comment (by Alex):
In the current patch, instead of having the default function be lambda
obj: str(obj), why not just give it smart_unicode?
--
Ticket URL: <http://code.djangoproject.com/ticket/4620#comment:11>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---