Changes between Initial Version and Version 1 of Ticket #35530, comment 1


Ignore:
Timestamp:
Jun 18, 2024, 7:52:35 AM (5 months ago)
Author:
Jaap Roes

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35530, comment 1

    initial v1  
    1 In addition; the first check seems to operate on the assumption that if `user` is `None` then `request.user` **must** be a valid user. If `request.user` is `None` or `AnonymousUser` the code after it will fail.
     1In addition; the first check seems to operate on the assumption that if `user` is `None` then `request.user` **must** be a valid user. If `request.user` is `None` or `AnonymousUser` the code after it will fail. Is there a clear reason for this behaviour?
Back to Top