django-mediagenerator

Extensible media/asset manager for Django
Download

django-mediagenerator Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Publisher Name:
  • Waldemar Kornewald
  • Publisher web site:
  • http://www.allbuttonspressed.com/

django-mediagenerator Tags


django-mediagenerator Description

Extensible media/asset manager for Django django-mediagenerator is an asset manager app for Django. With django-mediagenerator you can combine and compress your JS and CSS files. It also takes care of automatically versioning your files (including images), so browsers will load an updated version when you change any of your files. This works by adding a version hash to the file name. That way you can still use HTTP caches.An important advantage of the media generator is that it works in sandboxed hosting environments like App Engine.With its backend API the media generator allows you to flexibly add new features and adjust it to your needs. It also comes with several backends pre-installed. For example, you can use Sass, Python (via pyjs/Pyjamas), and PyvaScript.Also, the media generator provides a development mode in which files don't get combined and compressed. This simplifies debugging because you can easily see which file contains a bug. Moreover, some backends add extra debug information in development mode to further simplify debugging.Visit the project site for more information. Requirements: · Python · Django What's New in This Release: · This is a compatibility release which prepares for the new staticfiles feature in Django 1.3. · Upgrade notes: Use STATICFILES_URL instead of MEDIA_URL from now on. Starting with Django 1.3 this will default to "/static/" instead of "/media/". · App media should from now on be stored in a folder named "static". You can still use "media" folders, but this might be deprecated in the future (for the sake of having just one standard for reusable apps). · STATICFILES_URL must be used instead of MEDIA_URL · STATICFILES_DIRS can be used instead of GLOBAL_MEDIA_DIRS · STATICFILES_ROOT can be used instead of GENERATED_MEDIA_DIR


django-mediagenerator Related Software