djangoplay-web / Assets / Frontend Assets

Frontend Assets

The DjangoPlay frontend is packaged and minified by:

1 min readApplies to v1.2.2
On this page ▾
  1. Build
  2. Static Categories
  3. Production
  4. Rule
text
webapp/frontend/packaging/minify.sh

Build

bash
bash webapp/frontend/packaging/minify.sh

The build processes frontend CSS/JS and prepares distributable static assets.

Static Categories

The platform distinguishes:

text
dist/
assets/
vendor/
generated/

from Django-native static assets such as:

text
admin/
DRF browsable API

Production

The application can serve compiled frontend assets through Cloudflare R2/CDN.

Django-native admin and DRF assets remain local.

Rule

Never put secrets or private files under public static asset paths.