From 2e0cdd7d37ea4a84d5809a17a03d6ecae2068efb Mon Sep 17 00:00:00 2001 From: Joseph Riddle Date: Wed, 10 Jan 2024 23:35:53 -0800 Subject: [PATCH] Add allow_unicode to SlugField --- django-stubs/db/models/fields/__init__.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/django-stubs/db/models/fields/__init__.pyi b/django-stubs/db/models/fields/__init__.pyi index 6f7f7bd7f..5f334e35b 100644 --- a/django-stubs/db/models/fields/__init__.pyi +++ b/django-stubs/db/models/fields/__init__.pyi @@ -718,6 +718,7 @@ class SlugField(CharField[_C]): db_tablespace: str | None = ..., validators: Iterable[_ValidatorCallable] = ..., error_messages: _ErrorMessagesToOverride | None = ..., + allow_unicode: bool = ... ) -> SlugField[str]: ... @overload def __new__( @@ -744,6 +745,7 @@ class SlugField(CharField[_C]): db_tablespace: str | None = ..., validators: Iterable[_ValidatorCallable] = ..., error_messages: _ErrorMessagesToOverride | None = ..., + allow_unicode: bool = ... ) -> SlugField[str | None]: ... class EmailField(CharField[_C]):