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
+14 -3
View File
@@ -1,3 +1,14 @@
from django.shortcuts import render
# Create your views here.
from rest_framework.permissions import IsAuthenticated
from rest_framework.response import Response
from rest_framework.views import APIView
class MeView(APIView):
permission_classes = [IsAuthenticated]
def get(self,request):
return Response({
"id": request.user.id,
"username": request.user.username,
"email": request.user.email,
"is_staff": request.user.is_staff,
})