jazzband/django-admin2

ModelAdmin2.search_fields assigned twice.

douglasmiranda opened this issue · 1 comments

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.

@douglasmiranda you are probably right, this is duplication.