[Answered ]-Django, abstract model class + derived model & form "exclude" field issue

2👍

I’m not sure this is that simple.

Instead of this in your code, here you are overwriting the exclude list every time you want to add a field to it.

 exclude = ['field2']
 exclude = ['field10']
 exclude = ['field11']

write:

 exclude = ['field2', 'field10', 'field11']
👤Rohan

Leave a comment