#3257: [patch] added choice fields that return models -----------------------------------------------+---------------------------- Reporter: Honza Kr�l <[EMAIL PROTECTED]> | Owner: adrianType: defect | Status: new Priority: normal | Milestone: Component: django.newforms | Version: Severity: normal | Keywords: -----------------------------------------------+----------------------------
Its a standard ChoiceField with the added value that clean() returns
instance of a model with the pk equals to value - designed to work with
form_for_model... it takes model class as a first argument to
{{{__init__}}}, {{{ ForeignKey.formfield() }}} etc. has been updated to
use it...all tests pass -- Ticket URL: <http://code.djangoproject.com/ticket/3257> Django <http://code.djangoproject.org/> 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 -~----------~----~----~----~------~----~------~--~---
