static files django example Example 1: staticfiles STATICFILES_DIRS = [BASE_DIR / 'static'] Example 2: static file link in django STATIC_URL = '/static/'