R
R
RandomProgrammer2021-07-16 10:59:25
Django
RandomProgrammer, 2021-07-16 10:59:25

Pillow throws an error?

I'm saving a picture from a form to a model. This stage is going well. Then I want to process this picture using Pillow and pass the path to the file like this: the location of the picture + the name in the pictures in the model. It turns out something like this: 127.0.0.1:8000/media/profile_images/1455916263_201...
But this gives an error OSError [Errno 22] Invalid argument.
If anything I'm new to Django.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alan Gibizov, 2021-07-16
@phaggi

Yes, Pillow throws an error.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question