from rest_framework import generics

from api.core.authentication import SharedAuthentication
from api.letter_templates.models import LetterLayout
from api.staticdata.letter_layouts.serializers import LetterLayoutSerializer


class LetterLayoutsList(generics.ListAPIView):
    """
    Returns list of all letter layouts
    """

    authentication_classes = (SharedAuthentication,)

    queryset = LetterLayout.objects.all()
    serializer_class = LetterLayoutSerializer


class LetterLayoutDetail(generics.RetrieveAPIView):
    """
    Returns detail of a specific letter layout
    """

    authentication_classes = (SharedAuthentication,)

    queryset = LetterLayout.objects.all()
    serializer_class = LetterLayoutSerializer

2de6f788bd300503924623e5026c67a679d48cfe
<mask token>


class LetterLayoutsList(generics.ListAPIView):
    <mask token>
    <mask token>
    <mask token>
    <mask token>


class LetterLayoutDetail(generics.RetrieveAPIView):
    """
    Returns detail of a specific letter layout
    """
    authentication_classes = SharedAuthentication,
    queryset = LetterLayout.objects.all()
    serializer_class = LetterLayoutSerializer

<mask token>


class LetterLayoutsList(generics.ListAPIView):
    <mask token>
    authentication_classes = SharedAuthentication,
    queryset = LetterLayout.objects.all()
    serializer_class = LetterLayoutSerializer


class LetterLayoutDetail(generics.RetrieveAPIView):
    """
    Returns detail of a specific letter layout
    """
    authentication_classes = SharedAuthentication,
    queryset = LetterLayout.objects.all()
    serializer_class = LetterLayoutSerializer

<mask token>


class LetterLayoutsList(generics.ListAPIView):
    """
    Returns list of all letter layouts
    """
    authentication_classes = SharedAuthentication,
    queryset = LetterLayout.objects.all()
    serializer_class = LetterLayoutSerializer


class LetterLayoutDetail(generics.RetrieveAPIView):
    """
    Returns detail of a specific letter layout
    """
    authentication_classes = SharedAuthentication,
    queryset = LetterLayout.objects.all()
    serializer_class = LetterLayoutSerializer

from rest_framework import generics
from api.core.authentication import SharedAuthentication
from api.letter_templates.models import LetterLayout
from api.staticdata.letter_layouts.serializers import LetterLayoutSerializer


class LetterLayoutsList(generics.ListAPIView):
    """
    Returns list of all letter layouts
    """
    authentication_classes = SharedAuthentication,
    queryset = LetterLayout.objects.all()
    serializer_class = LetterLayoutSerializer


class LetterLayoutDetail(generics.RetrieveAPIView):
    """
    Returns detail of a specific letter layout
    """
    authentication_classes = SharedAuthentication,
    queryset = LetterLayout.objects.all()
    serializer_class = LetterLayoutSerializer

from rest_framework import generics

from api.core.authentication import SharedAuthentication
from api.letter_templates.models import LetterLayout
from api.staticdata.letter_layouts.serializers import LetterLayoutSerializer


class LetterLayoutsList(generics.ListAPIView):
    """
    Returns list of all letter layouts
    """

    authentication_classes = (SharedAuthentication,)

    queryset = LetterLayout.objects.all()
    serializer_class = LetterLayoutSerializer


class LetterLayoutDetail(generics.RetrieveAPIView):
    """
    Returns detail of a specific letter layout
    """

    authentication_classes = (SharedAuthentication,)

    queryset = LetterLayout.objects.all()
    serializer_class = LetterLayoutSerializer
