You mean that in PyCharm, you get the "Unresolved static reference" warning?
Do you have the static files in the static subdirectories of your installed apps or in STATICFILES_DIRS in settings? STATIC_ROOT is meant to be the directory that is used when you run collectstatic in production. With that said, PyCharm seems to find static files there as well on my installation.
One function of your settings is to tell Django where to find things such as your static media and templates. Most likely they’ll already live inside your project. If so, let Python generate the absolute path names for you. This makes your project portable across different environments.
import os DIRNAME = os.path.dirname(__file__) # ... STATIC_ROOT = os.path.join(DIRNAME, 'static')