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 details)

Uploaded Source

File details

Details for the file django-mediagenerator-1.9.zip.

File metadata

File hashes

Hashes for django-mediagenerator-1.9.zip
Algorithm Hash digest
SHA256 1bdd488ff4945cc108827c1945de276dc913dfaf17b8094c452640b3d09bc643
MD5 53d0421bd45d1b9bb2fb6a1fd6a588e2
BLAKE2b-256 e06010ca1c85972a7171b6500920b4849333e3f276bc76141758c37e85b59ab1

See more details on using hashes here.

Supported by

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