import django_filters

from ..models import Gift


class GiftFilter(django_filters.FilterSet):
    """docstring for GiftFilter"""
    class Meta:
        model = Gift
        fields = ['region']

import django_filters

from ..models import Gift


class GiftFilter(django_filters.FilterSet):
    """docstring for GiftFilter"""
    class Meta:
        model = Gift
        fields = ['region', 'status']

Enable status filter in API
Enable status filter in API

  import django_filters
  
  from ..models import Gift
  
  
  class GiftFilter(django_filters.FilterSet):
      """docstring for GiftFilter"""
      class Meta:
          model = Gift
-         fields = ['region']
+         fields = ['region', 'status']
  
Enable status filter in API
## Code Before:
import django_filters

from ..models import Gift


class GiftFilter(django_filters.FilterSet):
    """docstring for GiftFilter"""
    class Meta:
        model = Gift
        fields = ['region']

## Instruction:
Enable status filter in API
## Code After:
import django_filters

from ..models import Gift


class GiftFilter(django_filters.FilterSet):
    """docstring for GiftFilter"""
    class Meta:
        model = Gift
        fields = ['region', 'status']
