The pages work fine on DEBUG=True but the moment I change it to False,
the CSS styling vanishes.
This is what I get in the console:
“GET /static/css/style.css HTTP/1.1” 404 1286
Here’s my settings.py:
import os
import os.path
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(file)))
.
.
.
DEBUG = True
.
.
.
STATIC_URL = '/static/'
STATIC_ROOT = ‘staticfiles’
STATICFILES_DIRS = (
os.path.join(BASE_DIR, 'static'),
)
…