#from django.contrib.auth.models import User
from .models import Employees
import django_filters

class EmployeeFilter(django_filters.FilterSet):
    first_name = django_filters.CharFilter(lookup_expr='icontains')
    last_name = django_filters.CharFilter(lookup_expr='icontains')
    class Meta:
        model = Employees
        fields = ['emp_no', 'first_name', 'last_name', 'gender','hire_date']
d03e5fcc8cdf10d436bb9452d928dd555c6f7cfc
<mask token>

<mask token>


class EmployeeFilter(django_filters.FilterSet):
    <mask token>
    <mask token>


    class Meta:
        model = Employees
        fields = ['emp_no', 'first_name', 'last_name', 'gender', 'hire_date']

<mask token>


class EmployeeFilter(django_filters.FilterSet):
    first_name = django_filters.CharFilter(lookup_expr='icontains')
    last_name = django_filters.CharFilter(lookup_expr='icontains')


    class Meta:
        model = Employees
        fields = ['emp_no', 'first_name', 'last_name', 'gender', 'hire_date']

from .models import Employees
import django_filters


class EmployeeFilter(django_filters.FilterSet):
    first_name = django_filters.CharFilter(lookup_expr='icontains')
    last_name = django_filters.CharFilter(lookup_expr='icontains')


    class Meta:
        model = Employees
        fields = ['emp_no', 'first_name', 'last_name', 'gender', 'hire_date']

#from django.contrib.auth.models import User
from .models import Employees
import django_filters

class EmployeeFilter(django_filters.FilterSet):
    first_name = django_filters.CharFilter(lookup_expr='icontains')
    last_name = django_filters.CharFilter(lookup_expr='icontains')
    class Meta:
        model = Employees
        fields = ['emp_no', 'first_name', 'last_name', 'gender','hire_date']