STATICFILES_DIRS = [ os.path.join(BASE_DIR,'static') ] NameError: name 'os' is not defined code example
Example: STATIC_ROOT = os.path.join(BASE_DIR, 'static') NameError: name 'os' is not defined
# settings.py
import os # new
from pathlib import Path