Django Gears
  • Installation
    • Get the code
    • Add to settings
    • Configure development urls
    • Moving on
  • Tutorial
    • The assets directories
    • Using directives
    • Adding scripts and css to templates
  • Asset finders
    • Application finder
    • File System Finder
    • Configuring finders
  • Asset views
    • Serving assets in development
    • Gears urlpatterns
  • Asset template tags
    • Loading assets
    • Debug settings
  • Asset compilers and processors
    • 1. Preprocess
    • 2. Compile
    • 3. Postprocess
    • 4. Compress
    • 5. Save to filesystem
  • Deploying
    • Collecting assets
    • Defining public assets
    • Serving files with your web server
  • Settings
    • GEARS_CACHE
    • GEARS_COMPRESSORS
    • GEARS_COMPILERS
    • GEARS_DEBUG
    • GEARS_DIRS
    • GEARS_FINDERS
    • GEARS_FINGERPRINTING
    • GEARS_GZIP
    • GEARS_MIMETYPES
    • GEARS_POSTPROCESSORS
    • GEARS_PREPROCESSORS
    • GEARS_PUBLIC_ASSETS
    • GEARS_REGISTER_ENTRY_POINTS
    • GEARS_ROOT
    • GEARS_URL
 
Django Gears
  • Docs »
  • Django Gears
  • Edit on GitHub

Django Gears¶

This application provides integration with Django and Gears. Gears is a Python application that compiles and concatenates JavaScript and CSS assets. Inspired by Ruby’s Sprockets.

Source code is available on github: https://github.com/gears/django-gears

Contents¶

  • Installation
    • Get the code
    • Add to settings
    • Configure development urls
    • Moving on
  • Tutorial
    • The assets directories
    • Using directives
    • Adding scripts and css to templates
  • Asset finders
    • Application finder
    • File System Finder
    • Configuring finders
  • Asset views
    • Serving assets in development
    • Gears urlpatterns
  • Asset template tags
    • Loading assets
    • Debug settings
  • Asset compilers and processors
    • 1. Preprocess
    • 2. Compile
    • 3. Postprocess
    • 4. Compress
    • 5. Save to filesystem
  • Deploying
    • Collecting assets
    • Defining public assets
    • Serving files with your web server
  • Settings
    • GEARS_CACHE
    • GEARS_COMPRESSORS
    • GEARS_COMPILERS
    • GEARS_DEBUG
    • GEARS_DIRS
    • GEARS_FINDERS
    • GEARS_FINGERPRINTING
    • GEARS_GZIP
    • GEARS_MIMETYPES
    • GEARS_POSTPROCESSORS
    • GEARS_PREPROCESSORS
    • GEARS_PUBLIC_ASSETS
    • GEARS_REGISTER_ENTRY_POINTS
    • GEARS_ROOT
    • GEARS_URL
Next

© Copyright 2014, Gears.

Built with Sphinx using a theme provided by Read the Docs.