Skip to main content

Rspack for Django

django-rspack

Official docs for installing, configuring, and deploying django-rspack in Django applications that want a fast, shared Rspack workflow.

Quick Start

Install Package

pip install django-rspack

Open guide

Scaffold Files

python manage.py rspack_install

Open guide

Run Dev Server

python manage.py rspack_dev_server

Open guide

Rspack logo

django-rspack + Rspack

Django integration without inventing a second bundler stack

django-rspack builds on Rspack and the shared Shakapacker npm package so Django teams can use a modern Rust-powered bundler without writing and maintaining a parallel asset pipeline.

Manifest-backed asset resolution

Resolve bundles and assets from Django templates or Python code using the same manifest-driven workflow in development, test, and production.

Django-native commands and middleware

Use rspack_install, rspack_dev_server, rspack_compile, and the dev-server proxy middleware without inventing a custom integration layer.

Shared Shakapacker npm compatibility

Keep the JavaScript side aligned with the existing Shakapacker ecosystem while exposing a Python API that higher-level Django packages can build on.

Included surface areaAlpha scope

Template tags, Python helpers, management commands, manifest resolution, and a development proxy layer designed to feel native inside Django projects.

3core docs guides
1shared npm pipeline
0custom bundler forks

Designed for teams that want Rspack in Django without drifting away from the existing ShakaCode ecosystem.

Why Teams Use It

Documentation is synced directly from the django-rspack repository so the published site stays aligned with the package source.

Docs from sourceAlways aligned with current releases

The Python package stays intentionally thin and reuses the shared Shakapacker npm tooling for Rspack config, manifests, and the dev server.

Shared toolingOne JavaScript pipeline across Rails and Django

Docs Architecture

Canonical markdown stays in django-rspack/docs. This site syncs that content at build time, so package docs stay co-located with the code while deployment remains independent.

Expert Help

Get direct guidance from the team building Django and Rspack integrations

Need help wiring django-rspack into an existing Django stack or pairing it with higher-level libraries like react-on-django? Book a complimentary 30-minute assessment with ShakaCode.