Just talked to @jamalex; this is the right check, a student is not an admin nor a teacher, but is logged in either way. However he did mention that `request.is_admin` is true for both teachers and django admins. However, this current check you have has a clearer intent, so I'd leave it at that.