Changes between Initial Version and Version 1 of Ticket #35530, comment 1
- Timestamp:
- Jun 18, 2024, 7:52:35 AM (5 months ago)
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. 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. Is there a clear reason for this behaviour?