Fix static paths

This commit is contained in:
PCoder 2021-08-30 16:53:11 +05:30
parent cce3222742
commit 020cccf258

View file

@ -108,9 +108,11 @@ USE_TZ = True
STATIC_ROOT = '' STATIC_ROOT = ''
STATIC_URL = '/static/' PROJECT_ROOT = os.path.abspath(os.path.dirname(__name__))
STATICFILES_DIRS = (os.path.join('static'), ) STATIC_ROOT = os.path.join(PROJECT_ROOT, 'app/app/static')
STATIC_URL = '/static/'
# Default primary key field type # Default primary key field type
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field # https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field