Skip to main content

Total asset management for Django. Combine and compress your JavaScript and CSS.

Project description

django-mediagenerator is an asset manager for Django. With django-mediagenerator you can combine and compress your JS and CSS files. All files (including images) are versioned, so they can be efficiently cached with far-future expires.

The media generator works in sandboxed environments like App Engine. It supports Sass, HTML5 offline manifests, Jinja2, Python (via pyjs/Pyjamas), PyvaScript, and much more. Visit the project site for more information.

What’s new in version 1.9.1

  • Fixed relative imports in Sass filter

What’s new in version 1.9

  • Added CoffeeScript support (use .coffee extension). Contributed by Andrew Allen.

  • Added caching for CoffeeScript compilation results

  • In cache manifests the NETWORK section now contains “*” by default

  • By default .woff files are now copied, too

  • Fixed first-time media generation when MEDIA_DEV_MODE=False

  • Fixed i18n filter in development mode. Contributed by Simon Payne.

  • Fixed support for “/” in bundle names in dev mode (always worked fine in production)

  • Changed DEV_MEDIA_URL fallback from STATICFILES_URL to STATIC_URL (has been changed in Django trunk)

See CHANGELOG.rst for the complete changelog.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-mediagenerator-1.9.zip (47.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page