Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install django-daguerre

How to install django-daguerre

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install django-daguerre
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
1.0.0 Available View build log
 
License
BSD
Dependencies
Lastest release
version 1.0.0 on May 23rd, 2013

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.

System Message: ERROR/3 (<string>, line 9)

Unknown directive type "code-block".

.. code-block:: html+django

    {% load daguerre %}
    <img src="{% adjust my_model.image width=200 height=400 %}" />

    {% adjust_bulk my_queryset "method.image" width=200 height=400 as adjusted_list %}
    {% for my_model, image in adjusted_list %}
      <img src="{{ image }}" />
    {% endfor %}


code:http://github.com/oberlin/django-daguerre
docs:http://readthedocs.org/docs/django-daguerre/
build status:build-image

Requirements

  • Python 2.6+
  • PIL 1.1.7 (Or Pillow)

Installation

You can install the latest version of Daguerre using pip:

pip install django-daguerre

You can clone the repository yourself at https://github.com/oberlin/django-daguerre.

System Message: ERROR/3 (<string>, line 42)

Unknown directive type "highlight".

.. highlight:: python

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')),
    ...
)

Testing

We recommend running tox from the repository's root directory, but you can also run test_project/manage.py test daguerre.

Subscribe to package updates

Last updated May 23rd, 2013

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.