Hello,

Thanks, yes, that was my idea when I mentioned manual handling. I just
wanted to ask since it is quite common for me to miss a relevant
parameter or a small note in the documentation ;-)

On máj. 9, 17:21, Shawn Milochik <sh...@milochik.com> wrote:
> You can exclude that field from your ModelForm and manually add in a new
> field with just the option(s) you want.
>
> Then override the save() of your ModelForm to set the proper value of
> self.cleaned_data or self.instance to the value 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