Skip to content

Commit

Permalink
Even more precise docs
Browse files Browse the repository at this point in the history
The commit changing this line before was wrong, the docs says it all.
  • Loading branch information
suricactus committed Sep 8, 2023
1 parent 07ea0d9 commit 7e6543b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-app/qfieldcloud/authentication/auth_backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_user(self, user_id):
"""Almost the same as `contrib.auth.backends.ModelBackend`, but not using the default manager, but the normal `objects` manager
Returns:
Person | Organization | None: In theory it can return any of this three types, however it will always be a Person or None
Person | Organization | Team | None: In theory it can return any of these types, however it will always be a `Person` or `None`
"""
UserModel = get_user_model()

Expand Down

0 comments on commit 7e6543b

Please sign in to comment.