0

I have been working on a deep learning Django app that requires PIL installed. Now, I want to handle some images sent from an Android app. Imagefield seems to depend on Pillow. But both PIL and Pillow can't exist together.

Can FileField be used for this purpose? How do I approach now?

MWiesner
  • 8,868
  • 11
  • 36
  • 70
bittterbotter
  • 445
  • 6
  • 18

1 Answers1

0

The only difference from FileField is that ImageField adds extra validation and attributes. You should be fine using a custom validator or the model's clean method.

Community
  • 1
  • 1
Gianluca Mancini
  • 1,302
  • 9
  • 10