Django File Storage API

Where would I normally use this API?

In models, urls, forms, views.py?

Where would I normally use the File class?

In models, urls, forms, views.py?

+3
source share
1 answer

You will use this API if you need to work with files . The most common scenarios include views that allow users to upload / download files. Of course, when you have to work with files, you have to respond based on your requirements.

+1
source

Source: https://habr.com/ru/post/1761077/


All Articles