How does request.user.student work in the view?
phommata opened this issue · comments
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