Differences between STATICFILES_DIR, STATIC_ROOT and MEDIA_ROOT

Development STATIC_ROOT is useless during development, it’s only required for deployment. While in development, STATIC_ROOT does nothing. You don’t even need to set it. Django looks for static files inside each app’s directory (myProject/appName/static) and serves them automatically. This is the magic done by manage.py runserver when DEBUG=True. Deployment When your project goes live, things … Read more