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 (47.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page