Commit graph

26 commits

Author SHA1 Message Date
f6f87415d5 Fixed custom user serializer 2023-08-10 17:11:34 +08:00
e9d4090713 Added avatar profile uploads 2023-07-27 16:00:24 +08:00
fd2563aff9 Added some schema fields for drf-spectacular 2023-07-27 00:43:31 +08:00
accf87e332 Subject selection improvement in admin panel and for irregular students 2023-07-27 00:10:53 +08:00
0fd790505e Major overhaul to subject model and serializers 2023-07-26 23:32:03 +08:00
3748b4d2c8 Improved user registration serializer 2023-07-19 02:38:35 +08:00
bf9ed11a9e Improved code for uupdating course year level and semester for student and for postmigration generation of subjects per course 2023-07-18 22:15:42 +08:00
41b2747495 Improved code for uupdating course year level and semester for student and for postmigration generation of subjects per course 2023-07-18 22:13:31 +08:00
c10ef2d784 Auto subject adding/dropping when changing year level, semester, or course 2023-07-18 17:56:23 +08:00
db8fd8642f Add debug student account on migrate and added subjects to user serializer 2023-07-18 16:01:19 +08:00
2c131489bc Improved student serializer 2023-07-18 00:36:13 +08:00
95cbd88fd8 Improved student serializer 2023-07-18 00:35:41 +08:00
e8693547cf Omit student_status from user serializer 2023-07-17 18:42:40 +08:00
98177f7235 Migrated location fields to new format. Also fixed student_status serializer 2023-07-09 19:00:47 +08:00
288a1edd5e Improved serializers 2023-07-06 21:47:28 +08:00
ac268cb4c8 Improved custom user serializer 2023-07-04 20:49:28 +08:00
1e83f74217 Improved CustomUserSerializer 2023-07-04 20:34:12 +08:00
e567b5d399 Fixed user serializer still using django default user 2023-07-03 21:22:06 +08:00
e02d81f6fd Added relationship between user and subjects 2023-06-28 17:12:14 +08:00
f0d052bc66 Polished student_status serializer 2023-06-27 13:40:31 +08:00
268bde7f49 Polish serializer for user 2023-06-26 23:56:51 +08:00
1256efa3d2 Made student_status persistent rather than be deleted when unused. Add active field to student_status and auto create student_status instance when a user is created 2023-06-26 23:50:55 +08:00
ed6a66e989 Added student_status model 2023-06-26 22:06:05 +08:00
7762f72ce2 Polished avatar photo uploads for users 2023-06-26 21:39:59 +08:00
87d30a0ecc Polished and fixed custom user model 2023-06-26 20:36:58 +08:00
82a327d47f Added initial custom user model 2023-06-26 19:45:58 +08:00