Create static file location for

Hi all,

I am trying to establish a static files setting within my project, using the information from djangoCentral. I am receiving this error:
“C:\Users\iedkw\project\django\my_app\todo_app\”, line 124, in
STATICFILES_DIRS = [os.path.join(BASE_DIR, ‘static’), ]
NameError: name ‘os’ is not defined.

–where is ‘OS’ defined??? I shouldn’t have to define “OS”, right?-- Any recommendation? ‘django.contrib.staticfiles’ declared in INSTALLED_APP = [



Static files (CSS, JavaScript, Images)

Managing static files (e.g. images, JavaScript, CSS) | Django documentation | Django section static file:

STATIC_URL = ‘/static/’

#Location of static files
STATICFILES_DIRS = [os.path.join(BASE_DIR, ‘static’), ]

STATIC_ROOT = os.path.join(BASE_DIR, ‘staticfiles’)

You should import os modules in

import os;