Metadata-Version: 1.1
Name: django-assetfiles
Version: 0.1.0
Summary: Drop-in replacement for staticfiles which handles asset processing.
Home-page: http://github.com/LocalMed/django-assetfiles
Author: LocalMed
Author-email: UNKNOWN
License: MIT
Description: Django Assetfiles
        =================
        
        Django Assetfiles is a drop-in replacement for staticfiles which handles asset processing.
        
        
        Installation
        ------------
        
        1. Install package from PyPi:
        
            ``` sh
            $ pip install django-assetfiles
            ```
        
        2. Replace `'django.contrib.staticfiles'` in `INSTALLED_APPS` with `'assetfiles'`:
        
            ``` python
            INSTALLED_APPS = (
                # ...
                # 'django.contrib.staticfiles',
                'assetfiles',
            )
            ```
        
        3. That's it! Assetfiles will default to your [Staticfiles settings](https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/).
        
        
        Usage
        -----
        
        1. Add an asset file that should be processed:
        
             ``` scss
             // static/css/main.scss
             $color: red;
        
             body {
               color: $color;
             }
             ```
        
        2. Add a link to the processed CSS file in your template (you can use standard Staticfiles conventions):
        
            ``` html+django
            {% load staticfiles %}
            <link href="{% static 'css/main.css' %}" rel="stylesheet">
            ```
        
            Assetfiles will automatically serve up the processed version of `main.scss` at the static url of `/static/css/main.css`.
        
        3. For deployment, run `collectstatic` as usual and Assetfiles will process and copy over the assets:
        
            ``` sh
            $ python manage.py collectstatic
            $ cat public/css/main.css
            body {
              color: red; }
            ```
        
        
        Copyright
        ---------
        
        Copyright (c) 2012 [LocalMed, Inc.](http://localmed.com). See LICENSE for details.
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet :: WWW/HTTP
