#4979: Admin does not allow removal of an image from an ImageField after it has been set, even if null=True and blank=True -------------------------------------------+-------------------------------- Reporter: robvdl | Owner: nobody Status: reopened | Milestone: Component: django.contrib.admin | Version: SVN Resolution: | Keywords: ImageField Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 1 | -------------------------------------------+-------------------------------- Comment (by jacob):
You know, maybe we're over-thinking this a bit. Why not leave `cleaned_data['file']` alone, and just deal with the checkbox as a separate bit of data (`cleaned_data['__delete_file']` or somesuch)? Anyone using `ModelAdmin` hooks will need to update 'em anyway to deal with the new features, so there's not a big change here. -- Ticket URL: <http://code.djangoproject.com/ticket/4979#comment:10> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---