{% load static %} {{ title }}

{{ title }}

How it works: Static files are served directly by Actix (Rust) for maximum performance. Django's {% templatetag openblock %} static {% templatetag closeblock %} tag generates the correct URLs.

Django Admin Static Files

These files are served from Django's contrib.admin package:

Image Preview

Static images can be embedded directly:

Add link icon Change link icon Delete link icon

Configuration

Current static settings:

Performance Note

When running with python manage.py runbolt, static files are served directly by Actix Web (Rust) without invoking Python handlers. This provides:

CSP Violation Test

The following should be blocked by Content-Security-Policy (check browser console):

External image - should be blocked

Check browser DevTools console for CSP violation errors.