Replace `visitor` with `request.user`
visitor is an old hack that is not really needed anymore, and we can migrate the code to request.user to align with what django does.
This would require:
-
remove use of set_visitor_info -
make VisitorMixin.visitor a property raising DeprecationWarning -
slowly get rid of visitor
Edited by Enrico Zini