Update settings.py

This commit is contained in:
Andros Fenollosa 2021-07-01 09:22:59 +02:00 committed by GitHub
parent ead5bc1f78
commit 5785914869
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@ https://docs.djangoproject.com/en/3.2/ref/settings/
"""
import os
from pathlib import Path
from django.db.backends.signals import connection_created
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent