To use validate_image_file_extension you need to import it from django.core.validators, then you can use it like others validators:
from django.core.validators import validate_image_file_extension
class Photo(models.Model):
image = models.ImageField('Image', upload_to=image_upload_path, validators=[validate_image_file_extension])
If a user uploads a file that isn't an image, you will see this message in the error list:
Upload a valid image. The file you uploaded was either not an image or a corrupted image.
To get the error list in the template you have to use this:
{{ form.image.errors }}
Where form is the form object passed to the template.