A
A
Andrei1penguin12021-01-13 00:44:41
Django
Andrei1penguin1, 2021-01-13 00:44:41

How to download a file in django?

Good day, there is an AAA model, the ImageField field in the model, an image comes from the server in request.FILES.get("photo")
How to save the file that came from the server in the ImageField field (let the field be called field) for the AAA object?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question