Skip to content

Commit

Permalink
also update has_add_permission in organization admin
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg authored Oct 28, 2022
1 parent 73b0c0a commit 582b60c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencivicdata/core/admin/organization.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class PostInline(admin.TabularInline):
can_delete = False
show_change_link = True

def has_add_permission(self, request):
def has_add_permission(self, request, obj=None):
return False


Expand Down

0 comments on commit 582b60c

Please sign in to comment.