The admin is able to upload an image but I would like to restrict it to only being a square image.
Here is my models.py file:
class Author(models.Model):
author_name = models.CharField(max_length=200)
author_image = models.ImageField(upload_to=upload_location,
null=True,
blank=True,)
author_bio = models.TextField()
def __str__(self):
return self.author_name