<gh_stars>0
from shared.views import CURDViewSet
from systemconfig.models import *
from systemconfig.serializers import EmailConfigSerializer
from rest_framework.views import APIView
# from rest_framework.permissions import IsAuthenticated
from rest_framework.response import Response

from rest_framework.views import APIView
class EmailConfigListAPIView(CURDViewSet):
    queryset = EmailConfig.objects.filter(status=1, deleted_at=None)
    serializer_class = EmailConfigSerializer
    # permission_classes = (IsAuthenticated,)
from shared.views import CURDViewSet
from systemconfig.models import *
from systemconfig.serializers import EmailConfigSerializer
from rest_framework.views import APIView
# from rest_framework.permissions import IsAuthenticated
from rest_framework.response import Response

from rest_framework.views import APIView
class EmailConfigListAPIView(CURDViewSet):
    queryset = EmailConfig.objects.filter(status=1, deleted_at=None)
    serializer_class = EmailConfigSerializer
    # permission_classes = (IsAuthenticated,)
# from rest_framework.permissions import IsAuthenticated # permission_classes = (IsAuthenticated,)