Skip to content

Commit 49935f2

Browse files
authored
Merge pull request #1468 from opengisch/QF-6891-display-secret-creation-date
feat: add 'created_at' to readonly and list display fields in SecretAdmin
2 parents 86ce0a8 + 48d2cfc commit 49935f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker-app/qfieldcloud/core/admin.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,16 +763,18 @@ class SecretAdmin(QFieldCloudModelAdmin):
763763
"project",
764764
"organization",
765765
"created_by",
766+
"created_at",
766767
"value",
767768
)
768-
readonly_fields = ("created_by",)
769+
readonly_fields = ("created_by", "created_at")
769770
list_display = (
770771
"name",
771772
"type",
772773
"assigned_to",
773774
"project__name",
774775
"organization",
775776
"created_by__link",
777+
"created_at",
776778
)
777779
autocomplete_fields = ("project",)
778780

0 commit comments

Comments
 (0)