Python Django Static Files Setup
Use this at top of settings.py
import os
Add / update in TEMPLATES
os.path.join(BASE_DIR, 'templates')
Create public/static directory at project root where manage.py file is located.
Add below to settings.py
STATIC_ROOT = os.path.join(BASE_DIR, 'public/static')
STATIC_URL = '/static/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'public/media')
MEDIA_URL = '/media/'
and
python manage.py collectstatic