Skip to content

EditColumn shortcuts can't specify call target for field #645

@boxed

Description

@boxed

I had this EditColumn shortcut:

    @classmethod
    @with_defaults(
        bulk__call_target__attribute='image',
        filter__call_target__attribute='image',
        field__call_target__attribute='image',
    )
    def image(cls, **kwargs):
        return cls.foreign_key(**kwargs)

It crashes with

TypeError at ...
Field object has no refinable attribute(s): "call_target".
Available attributes:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions