Files
lms-backend/apps/common/api/base_serializer.py
T
Flook fe67d491e2
Build & Push Docker Image (Backend) / build (push) Successful in 54s
feat: implement LMS core (CMS, Courses, Enrollment, Progress, Auth) (Admin + API)
2026-05-03 09:36:47 +07:00

11 lines
303 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
from rest_framework.serializers import ModelSerializer
class BaseModelSerializer(ModelSerializer):
"""
Base Serializer สำหรับ CMSlike API
- ใช้ fields = "__all__" เป็น default
"""
class Meta:
abstract = True
fields = "__all__"