Skip to main content

Pipeline

Pipeline is an asset packaging library for Django, providing both CSS and JavaScript concatenation and compression, built-in JavaScript template support, and optional data-URI image and font embedding.

Installation

To install it, simply:

pip install django-pipeline

Documentation

For documentation, usage, and examples, see : http://django-pipeline.readthedocs.org

Contribute

  1. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. There is a contribute! tag for issues that should be ideal for people who are not very familiar with the codebase yet.

  2. Fork the repository on Github to start making your changes on a topic branch.

  3. Write a test which shows that the bug was fixed or that the feature works as expected.

  4. Send a pull request and bug the maintainer until it gets merged and published. Make sure to add yourself to AUTHORS.

Otherwise, if you simply wants to suggest a feature or report a bug, create an issue : https://github.com/cyberdelia/django-pipeline/issues

History

1.2.14

  • Jinja2 support, thanks to Christopher Reeves.

  • Add read/save_file method to CompilerBase.

1.2.13

  • Fix unicode bug in compressor. Thanks to Victor Shnayder.

  • Fix outdated detection bug. Thanks to Victor Shnayder and Erwan Ameil.

  • Add slimit compressor. Thanks to Brant Young.

1.2.12

  • Fix IO error when creating new compiled file. Thanks to Melvin Laplanche.

1.2.11

  • Add a small contribution guide

  • Add mimetype settings for sass and scss

  • Change compiler interface to let compiler determine if file is outdated

1.2.10

  • Use /usr/bin/env by default to find compiler executable. Thanks to Michael Weibel.

  • Allow to change embed settings : max size and directory. Thanks to Pierre Drescher.

  • Some documentation improvements. Thanks to Florent Messa.

1.2.9

  • Don’t compile non-outdated files.

  • Add non-packing storage.

1.2.8

  • Fix bugs in our glob implementation.

1.2.7

  • Many documentation improvements. Thanks to Alexis Svinartchouk.

  • Improve python packaging.

  • Don’t write silently to STATIC_ROOT when we shouldn’t.

  • Accept new .sass extension in SASSCompiler. Thanks to Jonas Geiregat for the report.

1.2.6

  • New lines in templates are now escaper rather than deleted. Thanks to Trey Smith for the report and the patch.

  • Improve how we find where to write compiled file. Thanks to sirex for the patch.

1.2.5

  • Fix import error for cssmin and jsmin compressors. Thanks to Berker Peksag for the report.

  • Fix error with default template function. Thanks to David Charbonnier for the patch and report.

1.2.4

  • Fix encoding problem.

  • Improve storage documentation

  • Add mention of the IRC channel #django-pipeline in documentation

1.2.3

  • Fix javascript mime type bug. Thanks to Chase Seibert for the report.

1.2.2.1

  • License clarification. Thanks to Dmitry Nezhevenko for the report.

1.2.2

  • Allow to disable javascript closure wrapper with PIPELINE_DISABLE_WRAPPER.

  • Various improvements to documentation.

  • Slightly improve how we find where to write compiled file.

  • Simplify module hierarchy.

  • Allow templatetag to output mimetype to be able to use less.js and other javascript compilers.

1.2.1

  • Fixing a bug in FinderStorage when using prefix in staticfiles. Thanks to Christian Hammond for the report and testing.

  • Make PIPELINE_ROOT defaults more sane. Thanks to Konstantinos Pachnis for the report.

1.2.0

  • Dropped synccompress command in favor of staticfiles collecstatic command.

  • Added file versionning via staticfiles CachedStaticFilesStorage.

  • Added a default js template language.

  • Dropped PIPELINE_AUTO settings in favor of simple PIPELINE.

  • Renamed absolute_asset_paths to absolute_paths for brevity.

  • Made packages lazy to avoid doing unnecessary I/O.

  • Dropped external_urls support for now.

  • Add cssmin compressor. Thanks to Steven Cummings.

  • Jsmin is no more bundle with pipeline.

Download files

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

Source Distribution

django-pipeline-1.2.14.tar.gz (36.1 kB view details)

Uploaded Source

File details

Details for the file django-pipeline-1.2.14.tar.gz.

File metadata

File hashes

Hashes for django-pipeline-1.2.14.tar.gz
Algorithm Hash digest
SHA256 eed64fe44127ef9c37a417d493598243cda1e73d00807561596faa2c6f8b2c86
MD5 ed828ab8c47a90b62d3ab37233537f3e
BLAKE2b-256 963bca2fab50f2b1a540654c0057e89bf43d5385b93613112c39ec9d199cb1dc

See more details on using hashes here.

Release history Release notifications | RSS feed

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