skip to navigation
skip to content

Not Logged In

django-daguerre 0.1

Image management and processing for Django.

Latest Version: 2.1.1

Django Daguerre
===============

**Django Daguerre** makes it easy to adjust images on-the-fly without
slowing down your templates and without needing to generate everything
ahead of time with a cron job. You don't need to make any changes to
your models; it **Just Works**.

Requirements
------------

* Python 2.5+
* PIL 1.1.7 (Or [Pillow](http://pypi.python.org/pypi/Pillow))

Installation
------------

You can install the latest version of Daguerre using `pip`:

    pip install django-daguerre

Setup
-----

Ensure that `'daguerre'` is in your project's `INSTALLED_APPS`:

    INSTALLED_APPS = (
        'daguerre',
        ...
    )

Add the following or similar anywhere in your URLconf:

    urlpatterns = patterns('',
        url(r'^daguerre/', include('daguerre.urls')),
        ...
    )

Usage
-----

The easiest way to use Daguerre is through the `{% adjust %}` template tag:

    {% load daguerre %}
    <img src="{% adjust my_model.image.name width=128 height=256 %}" />

For more on using Daguerre, [read the documentation](http://django-daguerre.readthedocs.org/).
 
File Type Py Version Uploaded on Size
django-daguerre-0.1.tar.gz (md5, pgp) Source 2012-08-22 23KB
  • Downloads (All Versions):
  • 35 downloads in the last day
  • 188 downloads in the last week
  • 890 downloads in the last month