Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModelAdmin2.search_fields assigned twice. #376

Open
douglasmiranda opened this issue Sep 27, 2013 · 1 comment
Open

ModelAdmin2.search_fields assigned twice. #376

douglasmiranda opened this issue Sep 27, 2013 · 1 comment

Comments

@douglasmiranda
Copy link
Contributor

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.

@galuszkak
Copy link
Collaborator

@douglasmiranda you are probably right, this is duplication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants