#18374: ImageField not validating due to missing libraries -------------------------------------+------------------------------------- Reporter: fabian@… | Owner: nobody Type: | Status: new Cleanup/optimization | Version: 1.4 Component: Documentation | Resolution: Severity: Normal | Triage Stage: Keywords: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by anonymous): Of course it'll be {{{#!python except Exception, e: # Python Imaging Library doesn't recognize it as an image if settings.DEBUG: raise ValidationError(self.error_messages['invalid_image'], e) raise ValidationError(self.error_messages['invalid_image']) if hasattr(f, 'seek') and callable(f.seek): f.seek(0) return f }}} ... -- Ticket URL: <https://code.djangoproject.com/ticket/18374#comment:5> Django <https://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.