Update settings.py

This commit is contained in:
algernonprotocol 2023-10-10 10:37:16 -03:00 committed by GitHub
parent 282eaa2c36
commit 4411e3e534
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,12 +20,12 @@ os.environ["DJANGO_ALLOW_ASYNC_UNSAFE"] = "true"
BASE_DIR = Path(__file__).resolve().parent.parent
#Comment for Local:
DEBUG = False
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
#DEBUG = False
#STATIC_ROOT = os.path.join(BASE_DIR, 'static')
#Comment for deploy:
#DEBUG = True
#STATICFILES_DIRS = [os.path.join(BASE_DIR, "static"),]
DEBUG = True
STATICFILES_DIRS = [os.path.join(BASE_DIR, "static"),]
STATIC_URL = '/static/'
LOCALE_PATHS = (