exclude mtg data field
This commit is contained in:
@@ -63,7 +63,7 @@ def get_config_form(mdl):
|
||||
|
||||
class Meta:
|
||||
model = mdl
|
||||
exclude = ()
|
||||
exclude = mdl.EXCLUDE_FIELDS if hasattr(mdl, 'EXCLUDE_FIELDS') else ()
|
||||
widgets = mdl.CUSTOM_WIDGETS if hasattr(mdl, 'CUSTOM_WIDGETS') else {}
|
||||
return ConfigForm
|
||||
|
||||
|
Reference in New Issue
Block a user