Open phommata opened 2 years ago
From what I understand, student is not a fieldname on user. So I would think request.user.student is not possible.
No this isn't the built-in user model ... You can check the models.py file so you can find the fields like is_student and is_teacher
From what I understand, student is not a fieldname on user. So I would think request.user.student is not possible.