set static for admin django code example Example: staticfiles STATICFILES_DIRS = [BASE_DIR / 'static']