Answers for "how to load my static files in django"

1

how to add static files in django

STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
STATICFILES_DIRS = [
    BASE_DIR / 'static'
]
Posted by: Guest on January-16-2022

Code answers related to "how to load my static files in django"

Python Answers by Framework

Browse Popular Code Answers by Language