HI I am new to static files but I got this error called STATICFILES_DIRS setting is not a tuple or list. Which I do not understand as it is does not contain any commas. I hope someone can help me. Yes, I have imported os.
Traceback:
ERRORS:
?: (staticfiles.E001) The STATICFILES_DIRS setting is not a tuple or list.
HINT: Perhaps you forgot a trailing comma?
settings.py:
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static')
]
STATICFILES_DIRS = (
os.path.join(BASE_DIR, '')
)