Changes between Initial Version and Version 1 of Ticket #29782, comment 5


Ignore:
Timestamp:
Sep 25, 2018, 1:58:35 PM (6 years ago)
Author:
Adam Johnson

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29782, comment 5

    initial v1  
    1 {{AnonymousUser.__int__}} might work, if you make the error message more generic like {{TypeError("Cannot cast AnonymousUser to int. Are you trying to use it in place of User?")}}
     1`AnonymousUser.__int__` might work, if you make the error message more generic like `TypeError("Cannot cast AnonymousUser to int. Are you trying to use it in place of User?")`
Back to Top