I have created a simple Django project with one page which included custom css.
and noticed that PyCharm can't find a declaration for CSS which located in static
folder.
I have the following configuration in settings.py
:
STATIC_URL = '/static/'
STATIC_DIR = os.path.join(BASE_DIR, 'static')
STATICFILES_DIRS = [
STATIC_DIR
]
Please NOTE the file is loading and I can see changes in UI, but PyCharm constantly can't find it So looks like it is some PyCharm configuration problem. Could you please help to solve it?
PyCharm version 2019.2