Thanks Shawn, I've done this, the only problem now is if I select only
one field the override save method works fine, but if I select more
than one, the field comes empty on the save method.

Any tips?

Thanks again!

Thiago

On Jul 8, 12:12 pm, Shawn Milochik <sh...@milochik.com> wrote:
> Add the field in your ModelForm, just as you would with a form. You're
> allowed to do that.
>
> Override the __init__ of your ModelForm subclass and populate the choices.
>
> Override the clean and clean_field functions (if necessary).
>
> Override the save() to populate the field in the other model from your
> custom field.

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to