TypeError when search_fields is omitted #3323

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

Comments

Projects
None yet
2 participants
@Rikuoja
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 tomchristie closed this in #3324 Aug 24, 2015

@tomchristie

This comment has been minimized.

Show comment
Hide comment
@tomchristie

tomchristie Aug 24, 2015

Member

Gotcha, thanks!

Member

tomchristie commented Aug 24, 2015

Gotcha, thanks!

@tomchristie tomchristie added this to the 3.2.4 Release milestone Aug 24, 2015

@tomchristie tomchristie added the Bug label Aug 24, 2015

@pyup-bot pyup-bot referenced this issue in wooyek/django-website-pro Oct 22, 2016

Merged

Pin djangorestframework to latest version 3.5.1 #16

@pyup-bot pyup-bot referenced this issue in maidstone-hackspace/maidstone-hackspace-website Feb 26, 2017

Merged

Pin djangorestframework to latest version 3.5.4 #39

@pyup-bot pyup-bot referenced this issue in srtab/alexandriadocs Jun 7, 2017

Closed

Pin djangorestframework to latest version 3.6.3 #39

@pyup-bot pyup-bot referenced this issue in founders4schools/django-donations Sep 19, 2017

Merged

Pin djangorestframework to latest version 3.6.4 #21

@pyup-bot pyup-bot referenced this issue in founders4schools/django-donations Nov 6, 2017

Closed

Pin djangorestframework to latest version 3.7.1 #35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment