add django.setup

This commit is contained in:
2025-05-04 15:50:52 +03:30
parent fd9a6022c2
commit eab6bcbc13

View File

@@ -16,7 +16,6 @@ from django.conf import settings
import django
django.setup()
settings.configure()
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent