Skip to content

AbstractFile - search_fields = ('name',) #50

@gumish

Description

@gumish

Hello,

I have a problem with ALDRYN_SEARCH and DJANGOCMS_FILE.

During handling of the above exception ('name'), another exception occurred

I guess that problem could be here in "djangocms_file/models.py":

class AbstractFile(CMSPlugin):
    search_fields = ('name',)

    file_name = models.CharField(
        verbose_name=_('Name'),
        blank=True,
        max_length=255,
        help_text=_('Overrides the default file name with the given value.'),
    )

Couldn't be here
search_fields = ('file_name',)
??

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