A Static Export Workflow for Django and PHP
Use familiar server templates to generate public HTML while keeping runtime requirements explicit.
The field guide / Django
Django can prepare content and render templates during a build that produces a static website. This is an additional publishing workflow around your project. Django asset collection and a complete HTML export perform different jobs, so define both before planning deployment.

Django uses static assets for files such as stylesheets, scripts, and application images. The collectstatic command gathers those assets into the configured deployment location. It does not render every view or transform database records into a complete set of public HTML pages.
Create a separate rendering step with a public route manifest and approved context data. Keep asset assembly and HTML generation in a documented sequence. The HTML output guide describes what the final pages should contain.
A project-specific management command or build script can render templates and write their output. Select only the fields required for publication. Check visibility and publication status before rendering, and avoid exposing private records through convenient template context objects.
Review request-dependent context processors, user branches, and session assumptions. Supply stable public values where appropriate. Maintain escaping for normal text and carefully review imported rich HTML. Stop the build on missing required content, duplicate routes, or template failures.
Serve the completed release through a plain static server. Open nested pages directly, follow archive pagination, and check media references. Decide separately how to handle uploaded media; collecting application assets does not automatically package every user-uploaded file.
A static host does not run the Django application or provide its authentication and form handling. Follow the Django and PHP export guide for service boundaries and release checks, then compare the PHP build workflow for a related approach.
No. It gathers static assets. Rendering views or templates into public HTML files requires a separate exporter with a defined set of content and routes.
The admin requires the Django application and its supporting services. Keep it in a suitable application environment if it remains part of the editing workflow.
Primary reference: Django: deploying static files.