HI,
I want to use a custom form for one of my admin inlines, but
unfortunatly I'm not able to exclude some fields. Seems that
GenericStackedInline ignores whatever I put on ModelForm.Meta.exclude.
Is this a normal behaviour? or it's a bug?

My test classes:

class Mon(ModelForm):
    class Meta:
         model = Monitoring
         exclude = ('monitor','limit','current',)

class GenericMonitoringInline(generic.GenericStackedInline):
     model = Monitoring
     form = Mon


Thanks!
-- 
Marc

-- 
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