feat: implement LMS core (CMS, Courses, Enrollment, Progress, Auth) (Admin + API)
Build & Push Docker Image (Backend) / build (push) Successful in 54s

This commit is contained in:
Flook
2026-05-03 09:36:47 +07:00
parent 1ec6fa68a1
commit fe67d491e2
25 changed files with 590 additions and 71 deletions
+12 -3
View File
@@ -1,3 +1,12 @@
from django.shortcuts import render
# Create your views here.
from apps.common.api.base_viewset import BaseModelViewSet
from apps.content.models import Article
from apps.content.serializers import ArticleSerializer
class ArticleViewSet(BaseModelViewSet):
queryset = Article.objects.all()
serializer_class = ArticleSerializer
# CMS-like behavior
search_fields = ('title', 'body')
filterset_fields = ['published']
ordering = ['-created_at']