Skip to content

Commit

Permalink
extend modeladmin
Browse files Browse the repository at this point in the history
  • Loading branch information
chopkinsmade committed Apr 3, 2024
1 parent bd121b7 commit 0aabceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datahub/core/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def has_change_permission(self, request, obj=None):
return False


class ExportWinsAdminMixin:
class ExportWinsAdminMixin(admin.ModelAdmin):
def has_module_permission(self, request):
return handle_export_wins_admin_permissions(
request.user,
Expand Down

0 comments on commit 0aabceb

Please sign in to comment.