From what I understand, student is not a fieldname on user. So I would think request.user.student is not possible.