Git Product home page Git Product logo

Comments (4)

respondcreate avatar respondcreate commented on August 16, 2024

Hey @agconti

A couple questions:

  1. What version of django-versatileimagefield do you have installed?
  2. Would you mind pasting in your CaseStudy model so I can take a quick look?

from django-versatileimagefield.

agconti avatar agconti commented on August 16, 2024

Hey @respondcreate,

Thanks for looking into this.

I'm using django-versatileimagefield==1.2.

Here's my CaseStudy model:

@python_2_unicode_compatible
class CaseStudy(TimeStampedModel):
    title = models.CharField(max_length=50)
    image = VersatileImageField(upload_to=unique_upload, ppoi_field='ppoi')
    ppoi = PPOIField()
    file = models.FileField(upload_to=unique_upload)

    class Meta:
        verbose_name_plural = _("Case studies")

    def __str__(self):
        return self.title

from django-versatileimagefield.

respondcreate avatar respondcreate commented on August 16, 2024

Hey @agconti

The rendition deletion API was added in version 1.3 so upgrade via pip and you should be good to go:

$ pip install django-versatileimagefield==1.3

I just added a note at the top of the file deletion docs to communicate this to future visitors. Thanks for your contribution to this project, I appreciate it!

from django-versatileimagefield.

agconti avatar agconti commented on August 16, 2024

@respondcreate thanks for solving this and adding the note to the docs. I appreciate your great work!

from django-versatileimagefield.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.