<filename>mikaponics/production/serializers/problem_data_sheet_list_serializer.py
# -*- coding: utf-8 -*-
from django.contrib.auth.models import Group
from django.contrib.auth import authenticate
from django.db.models import Q
from django.shortcuts import get_object_or_404
from django.template.loader import render_to_string  # HTML / TXT
from django.utils import timezone
from django.utils.translation import ugettext_lazy as _
from rest_framework import exceptions, serializers
from rest_framework.response import Response

from foundation.models import ProblemDataSheet


class ProblemDataSheetListSerializer(serializers.ModelSerializer):
    class Meta:
        model = ProblemDataSheet
        fields = (
            'text',
            'type_of',
            'slug',
        )

<filename>mikaponics/production/serializers/problem_data_sheet_list_serializer.py
# -*- coding: utf-8 -*-
from django.contrib.auth.models import Group
from django.contrib.auth import authenticate
from django.db.models import Q
from django.shortcuts import get_object_or_404
from django.template.loader import render_to_string  # HTML / TXT
from django.utils import timezone
from django.utils.translation import ugettext_lazy as _
from rest_framework import exceptions, serializers
from rest_framework.response import Response

from foundation.models import ProblemDataSheet


class ProblemDataSheetListSerializer(serializers.ModelSerializer):
    class Meta:
        model = ProblemDataSheet
        fields = (
            'text',
            'type_of',
            'slug',
        )

# -*- coding: utf-8 -*- # HTML / TXT