Commit graph

23 commits

Author SHA1 Message Date
0eff07a1ae Overhauled the entire subjects app to be more simplified and to remove anomalies when filtering in queries 2023-07-26 12:14:19 +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
e6c4dd7b9c Removed associative entity between student and subject 2023-07-18 15:51:06 +08:00
fd08e3c58a Change profile photo filename 2023-07-15 00:01:51 +08:00
a67d8ae106 Fixed superuser being created as inactive user 2023-07-06 18:15:41 +08:00
5840d3f95c Make users not active by default, requiring email activation 2023-07-04 19:36:29 +08:00
f6cbe1941e Fixed integrity issues with on_delete for customuser 2023-07-04 18:06:47 +08:00
e02d81f6fd Added relationship between user and subjects 2023-06-28 17:12:14 +08:00
701dc55e31 Added study_groups 2023-06-27 21:12:03 +08:00
de1dabf53c Added semesters 2023-06-27 15:48:43 +08:00
ceba84acb5 Autocreate superuser from .env file as well as autogenerate year level and course records 2023-06-27 15:41:34 +08:00
48f6bee125 Connected course to user 2023-06-27 14:38:07 +08:00
f0d052bc66 Polished student_status serializer 2023-06-27 13:40:31 +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
5085f9929b Polish custom user model and git ignore 2023-06-26 20:56:02 +08:00
49a69c6737 Polished custom user model avatar photo 2023-06-26 20:42:22 +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
f250cfd2e3 Add code for production and dev email credentials and create initial custom user model 2023-06-26 19:19:38 +08:00
ab7fb228e3 Added Djoser 2023-06-26 19:10:04 +08:00