Hello list,

may I draw your attention to this question I posted in django-users? There 
have been zero responses so far and I am not sure why.

http://groups.google.com/group/django-users/t/bc7449e9c126056e

Gist: For inline formsets produced with the inlineformset_factory it is not 
possible to exclude the foreign key field from the forms. Using "exclude=" 
with a foreign key field has no effect. The reason for this can be found in 
django.forms.models.BaseInlineFormSet#add_fields(), where the foreign key 
form field is added after "fields=" and "exclude=" have been processed.

Is this a bug?

I think excluding the foreign key field from the forms of a formset is a 
valid use of "exclude=".

Cheers, gulrtosk

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-developers/-/rBhm-PrPXT8J.
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-developers?hl=en.

Reply via email to