mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-16 00:37:11 +08:00
added unique annotation on model Field (#936)
This commit is contained in:
committed by
GitHub
parent
268ec3bcd5
commit
16499a22ab
@@ -143,6 +143,7 @@ class Field(RegisterLookupMixin, Generic[_ST, _GT]):
|
||||
description: Union[str, _Getter[str]]
|
||||
blank: bool
|
||||
null: bool
|
||||
unique: bool
|
||||
editable: bool
|
||||
empty_strings_allowed: bool = ...
|
||||
choices: Optional[_ChoicesList] = ...
|
||||
|
||||
Reference in New Issue
Block a user