FormPluginFormMixin is using 'instance' argument.
|
def __init__(self, source_url, instance, **kwargs): |
At the same time ModelForm is using 'instance' argument too.
So there is no possibility for the form to be filled in by values from a Model.
Simple change of 'instance' argument to something like 'cms_instance' would clear up this issue.
FormPluginFormMixin is using 'instance' argument.
cmsplugin-form-handler/cmsplugin_form_handler/forms.py
Line 9 in 05951ce
At the same time ModelForm is using 'instance' argument too.
So there is no possibility for the form to be filled in by values from a Model.
Simple change of 'instance' argument to something like 'cms_instance' would clear up this issue.