This commit is contained in:
CocoByte 2024-11-25 15:35:00 -07:00
parent 31563152da
commit c0a0ac3ed2
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
3 changed files with 24 additions and 14 deletions

View file

@ -3216,7 +3216,7 @@ class DomainAdmin(ListHeaderAdmin, ImportExportModelAdmin):
):
return True
return super().has_change_permission(request, obj)
def get_queryset(self, request):
"""Custom get_queryset to filter by portfolio if portfolio is in the
request params."""