Skip to content

Commit dd852b2

Browse files
authored
feat: duration field widget (#239)
1 parent 4034084 commit dd852b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unfold/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
models.FloatField: {"widget": UnfoldAdminDecimalFieldWidget},
108108
models.ImageField: {"widget": UnfoldAdminImageFieldWidget},
109109
models.JSONField: {"widget": UnfoldAdminTextareaWidget},
110+
models.DurationField: {"widget": UnfoldAdminTextInputWidget},
110111
}
111112

112113
if HAS_PSYCOPG:

0 commit comments

Comments
 (0)