Skip to content

Commit

Permalink
Type ModelAdmin.fieldsets 'description' option to support `gettext_…
Browse files Browse the repository at this point in the history
…lazy` (#1268)
  • Loading branch information
flaeppe committed Nov 19, 2022
1 parent 0ae827d commit fa972f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django-stubs/contrib/admin/options.pyi
Expand Up @@ -54,7 +54,7 @@ _FieldGroups: TypeAlias = Sequence[str | Sequence[str]]

class _OptionalFieldOpts(TypedDict, total=False):
classes: Sequence[str]
description: str
description: _StrOrPromise

class _FieldOpts(_OptionalFieldOpts, total=True):
fields: _FieldGroups
Expand Down

0 comments on commit fa972f1

Please sign in to comment.