reformatted

This commit is contained in:
asaki222 2024-08-06 17:09:19 -04:00
parent 046b1a8438
commit 46769cb8a6
No known key found for this signature in database
GPG key ID: CDC41B4E3DF6857F

View file

@ -2865,7 +2865,7 @@ class PortfolioAdmin(ListHeaderAdmin):
return super().change_view(request, object_id, form_url, extra_context)
def save_model(self, request, obj, form, change):
obj.creator = request.user if request.user.is_authenticated else None
# ---- update organization name ----
# org name will be the same as federal agency, if it is federal,