Changes between Initial Version and Version 1 of Ticket #30028, comment 4


Ignore:
Timestamp:
Dec 12, 2018, 11:47:40 AM (5 years ago)
Author:
Carlton Gibson

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30028, comment 4

    initial v1  
    1 Happy to look at a project if you can provide one but just glancing at the code, it looks like a programming error: you’re going to need to look at the `request.user` to see what you should return. Otherwise you’ve overridden the default implementation, which protects against this sort of thing.
     1Happy to look at a project if you can provide one but just glancing at the code, it looks like a programming error: you’re going to need to look at the `request.user` to see what you should return. Otherwise you’ve overridden the default implementation, which protects against this sort of thing, and created the issue.
    22
    33You should probably be calling `super()` before your own logic, and only continuing if that returns `True`.
Back to Top