Added Pyre

This commit is contained in:
Mohamed ElKalioby
2024-01-23 14:07:16 +03:00
parent 992f97b9fa
commit 393a0f3ece
11 changed files with 33 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ try:
from django.db.models import JSONField
except ModuleNotFoundError:
try:
from jsonfield import JSONField
from jsonfield import JSONField # pyre-ignore[21]
except ModuleNotFoundError:
raise ModuleNotFoundError(
"Can't find a JSONField implementation, please install jsonfield if django < 4.0"