Skip to content

Unable to use ModelForm properly #10

@milonline-eu

Description

@milonline-eu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions