updated csv export file"

"
"
This commit is contained in:
asaki222 2024-11-06 10:40:29 -05:00
parent c460e04380
commit 1ca5142b37
No known key found for this signature in database
GPG key ID: 2C4F802060E06EA4
3 changed files with 14 additions and 8 deletions

View file

@ -2121,7 +2121,7 @@ class DomainRequestAdmin(ListHeaderAdmin, ImportExportModelAdmin):
we'll use the baseline readonly_fields and extend it as needed.
"""
readonly_fields = list(self.readonly_fields)
# Check if the creator is restricted
if obj and obj.creator.status == models.User.RESTRICTED:
# For fields like CharField, IntegerField, etc., the widget used is