mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 02:48:38 -06:00
Correct docstring
This commit is contained in:
parent
2f425fda34
commit
2e52014828
@ -22,8 +22,7 @@ class SharedObjectViewMixin:
|
|||||||
|
|
||||||
def get_queryset(self, request):
|
def get_queryset(self, request):
|
||||||
"""
|
"""
|
||||||
Return only shared SavedFilters, or those owned by the current user, unless
|
Return only shared objects, or those owned by the current user, unless this is a superuser.
|
||||||
this is a superuser.
|
|
||||||
"""
|
"""
|
||||||
queryset = super().get_queryset(request)
|
queryset = super().get_queryset(request)
|
||||||
user = request.user
|
user = request.user
|
||||||
|
Loading…
Reference in New Issue
Block a user