Changes between Version 1 and Version 2 of Ticket #32255, comment 2


Ignore:
Timestamp:
Dec 14, 2020, 6:46:17 AM (4 years ago)
Author:
Matteo Parrucci

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32255, comment 2

    v1 v2  
    2828}}}
    2929
     30Into django.contrib.auth.backends.* change the has_perm signature to the following leaving the implementation as is.
     31{{{
     32def has_perm(self, user_obj, perm, obj=None, **kwargs):
     33}}}
     34
    3035And 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.
Back to Top