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

TypeError when search_fields is omitted #3323

Closed
Rikuoja opened this issue Aug 24, 2015 · 1 comment
Closed

TypeError when search_fields is omitted #3323

Rikuoja opened this issue Aug 24, 2015 · 1 comment
Labels
Milestone

Comments

@Rikuoja
Copy link
Contributor

Rikuoja commented Aug 24, 2015

Contrary to documentation, if SearchFilter is added but search_fields accidentally (or on purpose) omitted, DRF Release 3.2.3 presents a TypeError when listing a ViewSet. This behavior was not present in Release 3.2.2.

Rikuoja added a commit to Rikuoja/django-rest-framework that referenced this issue Aug 24, 2015
@tomchristie
Copy link
Member

Gotcha, thanks!

@tomchristie tomchristie added this to the 3.2.4 Release milestone Aug 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants