Skip to content

Commit 0a93d06

Browse files
authored
Automation rules: show dates in admin (#10675)
1 parent bc8aea1 commit 0a93d06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

readthedocs/builds/admin.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ def wipe_version_indexes(self, request, queryset):
156156
@admin.register(RegexAutomationRule)
157157
class RegexAutomationRuleAdmin(PolymorphicChildModelAdmin, admin.ModelAdmin):
158158
raw_id_fields = ("project",)
159+
readonly_fields = (
160+
"created",
161+
"modified",
162+
)
159163
base_model = RegexAutomationRule
160164

161165

0 commit comments

Comments
 (0)