# How to filter WHERE , OR on django with serializer,model and view?

**URL:** <https://forum.djangoproject.com/t/how-to-filter-where-or-on-django-with-serializer-model-and-view/12346>\
**Category:** Forms & APIs\
**Created:** [February 25, 2022, 5:52pm UTC](https://forum.djangoproject.com/t/how-to-filter-where-or-on-django-with-serializer-model-and-view/12346 "2022-02-25T17:52:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![arthur](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/arthur/32/7596_2.png) [@arthur](https://forum.djangoproject.com/u/arthur)\
**Post date:** [February 27, 2022, 3:53pm UTC](https://forum.djangoproject.com/t/how-to-filter-where-or-on-django-with-serializer-model-and-view/12346/2 "2022-02-27T15:53:34Z")

</div>

Wanted to do something like “WHERE ( something = 1 OR something = 2 OR something = 3 )”  
but with drf, didn’t find nothing close to it.

---

_[View the full topic](https://forum.djangoproject.com/t/how-to-filter-where-or-on-django-with-serializer-model-and-view/12346)._
