Changes between Version 1 and Version 2 of Ticket #32255, comment 2
- Timestamp:
- Dec 14, 2020, 6:46:17 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32255, comment 2
v1 v2 28 28 }}} 29 29 30 Into django.contrib.auth.backends.* change the has_perm signature to the following leaving the implementation as is. 31 {{{ 32 def has_perm(self, user_obj, perm, obj=None, **kwargs): 33 }}} 34 30 35 And it works for me now. It is a small change and I think it could be useful for others too. Basically I only added kwargs to the signatures and forwarded it to the auth backends.