Skip to content

ModelAdmin2.search_fields assigned twice. #376

Description

@douglasmiranda

ModelAdmin2.search_fields assigned twice. Is it really necessary?

# ...
search_fields = ()
# ...

search_fields = []

I've removed the line (types.py):

search_fields = []

Ran the tests, and I get no error.

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