django-admin2 icon indicating copy to clipboard operation
django-admin2 copied to clipboard

ModelAdmin2.search_fields assigned twice.

Open douglasmiranda opened this issue 12 years ago • 1 comments
trafficstars

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 avatar Sep 27 '13 01:09 douglasmiranda

@douglasmiranda you are probably right, this is duplication.

galuszkak avatar Jan 10 '15 19:01 galuszkak