![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
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.
.. code-block:: html+django
{% load daguerre %}
<img src="{% adjust my_model.image "fill" width=200 height=400 %}" />
{% adjust_bulk my_queryset "method.image" "fill" width=200 height=400 as adjusted_list %}
{% for my_model, image in adjusted_list %}
<img src="{{ image }}" />
{% endfor %}
:code: http://github.com/melinath/django-daguerre :docs: http://readthedocs.org/docs/django-daguerre/ :build status: |build-image|
.. |build-image| image:: https://secure.travis-ci.org/melinath/django-daguerre.png?branch=master :target: http://travis-ci.org/melinath/django-daguerre/branches
Daguerre may work with earlier or later versions of these packages, but they are not officially supported.
You can install the latest version of Daguerre using pip
::
$ pip install django-daguerre
You can clone the repository yourself at https://github.com/melinath/django-daguerre.
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')), ... )
Run the migration command to create the database models::
python manage.py migrate daguerre
You can run the tests with test_project/manage.py test daguerre
.
FAQs
On-the-fly image manipulation for Django 1.11+.
We found that django-daguerre demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.