from django.shortcuts import render
from rest_framework import viewsets
from .serializers import EmployeeSerializer
from .models import Employee


class EmployeeViewSet(viewsets.ModelViewSet):
    queryset = Employee.objects.all().order_by('ename')
    serializer_class = EmployeeSerializer

e4e9b22214a71bfa9da95759269ac48b19ab4560
<mask token>

<mask token>


class EmployeeViewSet(viewsets.ModelViewSet):
    <mask token>
    <mask token>

<mask token>


class EmployeeViewSet(viewsets.ModelViewSet):
    queryset = Employee.objects.all().order_by('ename')
    serializer_class = EmployeeSerializer

from django.shortcuts import render
from rest_framework import viewsets
from .serializers import EmployeeSerializer
from .models import Employee


class EmployeeViewSet(viewsets.ModelViewSet):
    queryset = Employee.objects.all().order_by('ename')
    serializer_class = EmployeeSerializer
