mortezaei
8807bd61bd
refactor(quiz): Adjust quiz lesson relation
- Changed Quiz.lesson to CourseLesson
- Updated serializers and views
- Modified admin to restrict access
- Added management command to clear data
- Updated admin UI
9 months ago
mortezaei
7911bd0a9d
feat(account, course): add enrolled courses count & improve admin
- Added enrolled courses count to StudentUser admin
- Improved StudentUser admin queryset
- Added StudentParticipantInline to StudentUser admin
- Added is_active field to Participant model
- Improved Course admin registration
10 months ago
mortezaei
06a5cd5985
feat: update CourseDetailSerializer to use SerializerMethodField for professor and add is_professor field
10 months ago
mortezaei
fd54052c2a
Refactor API Documentation System and optimize Hadis data scripts
- Removed the API documentation README file as it is no longer needed.
- Added a new script to optimize Hadis transmitter chains, ensuring a maximum of 5 transmitters and exactly one gap.
- Enhanced the Hadis data seeding script for better performance with batch operations and duplicate checks.
- Updated utility functions to streamline thumbnail generation and improve code readability.
10 months ago
mortezaei
eb2028290e
fix: ensure completed lessons count does not exceed total lessons in CourseDetailSerializer
11 months ago
mortezaei
a2efd6e354
fix: optimize queryset in CourseListAPIView with select_related and improved filtering
11 months ago
mortezaei
5a0e54ded0
fix: optimize lesson completion counting with prefetching in serializers
11 months ago
mortezaei
89a1418d76
fix: optimize database queries and add indexes across course and lesson models
11 months ago
mortezaei
3b15b01b8f
fix: course price
1 year ago
mortezaei
8d48c358c5
fix: course price
1 year ago
mortezaei
5d806c8775
fix: search list courses
1 year ago
mortezaei
69b34f4636
fix: courselist serialiser
1 year ago
mortezaei
2a023c77c7
fix: course list
1 year ago
mortezaei
876248a53e
fix: course quiz
1 year ago
mortezaei
28e78aee14
fix: course
1 year ago
mortezaei
7732e0f15c
feat: article, videos. library, podcasts
1 year ago
alireza
388c94742a
fix course serailizer
1 year ago
alireza
2c2856ed3b
pref admin panel courses
1 year ago
alireza
cafbd22e8c
pref add transaction
1 year ago
alireza
d8d8fbfc07
fix error
1 year ago
alireza
e013c4fd24
redesign panel admin
1 year ago