'Django's Image Field and Google app engine

I have a django app deployed on google cloud platform. I also have the same app deployed on heroku (It works fine). I have a model in my code that looks like this :

class Notification(models.Model):
## other fields 
qrcode = models.ImageField(null=True, blank=True, default=None)

When I pass this model to the serializer, I got a status code 500.

I googled it and find some answers referring to PIL library or some needed configuration in the Google Cloud App Engine in order to support ImageField.

NOTE :

django-admin on heroku looks like this:

Django-admin on heroku

django-admin on google cloud looks like this :

Django-admin on google cloud

Does anyone know what to do in this case?

Thanks in advance.



Solution 1:[1]

Google Cloud Platform has a documentation on how you can use Python libraries on Google App Engine.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1