From bf1fc0ba2cceb480bef96245ae2230fcedc7f84b Mon Sep 17 00:00:00 2001 From: Andrey Lepekhin <35651221+andrey-lepekhin@users.noreply.github.com> Date: Wed, 20 Dec 2023 16:00:10 +0300 Subject: [PATCH] used typing.Dict for python 3.8 support (#23) Co-authored-by: Andrey Lepekhin --- tests/test_to_django.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_to_django.py b/tests/test_to_django.py index b6a73df..2796c5e 100644 --- a/tests/test_to_django.py +++ b/tests/test_to_django.py @@ -135,7 +135,7 @@ class StorageSettings(BaseSettings): FILE_STORAGE: str @computed_field - def STORAGES(self) -> dict[str, dict[str, str]]: + def STORAGES(self) -> Dict[str, Dict[str, str]]: return {"default": {"BACKEND": self.FILE_STORAGE}} settings = StorageSettings(FILE_STORAGE="ExampleStorage")