S
S
SHADRIN2020-06-24 18:12:47
Django
SHADRIN, 2020-06-24 18:12:47

How to save a file to a VDS server using Django?

There are 2 servers
1: The site itself
2: VDS for files

It is necessary to upload files and that they are saved on VDS I do all this on Django 3 I
created a form and followed the Documentation
But here the files are stored in MEDIA and I can’t physically open or see them, I want to how to solve give advice)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
szelga, 2020-06-26
@shadrin_ss

in order for files to be loaded somewhere other than the file system, they need a separate storage . google/write it yourself/grab something from django-storages .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question