This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
|
from authentic2.managers import GetByNameManager
|
|
from authentic2.custom_user.managers import UserManager
|
|
|
|
class UserManager(UserManager):
|
|
def get_by_natural_key(self, collectivity_slug, uid):
|
|
return self.get(collectivity__slug=collectivity_slug, uid=uid)
|
|
|
|
|