more cleanup in admin

This commit is contained in:
David Kennedy 2025-01-02 16:59:52 -05:00
parent b39c143b9d
commit 0c07e931d3
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B

View file

@ -1553,7 +1553,6 @@ class PortfolioInvitationAdmin(ListHeaderAdmin):
if has_errors:
# Re-render the change form if there are errors or warnings
# Prepare context for rendering the change form
opts = self.model._meta
# Get the model form
ModelForm = self.get_form(request, obj=obj)