Re: 2020 Authentication Initiativ

2019-04-11 Thread John D'Ambrosio
Email and password is pretty well supported out of the box using the configuration options provided on the AbstractUser (USERNAME_FIELD). Slightly more complex cases like username and email both being valid login parameters require very thin wrappers. The greater discussion is about technologi

Re: the design of django group permission should be optimized in django.contrib.auth.ModelBackend

2019-04-03 Thread John D'Ambrosio
I believe this change is merited and I would be happy to help if others are interested in working this. I have actually monkey-patched it a few times now for two reasons: a) I want more data fields on the group itself, or b) I want to implement nested groups MPTT's docs suggest one approach wh