[Django]-File transfer between app and media server

1👍

Are your file uploads related to any models? If so, set the storage media to your media server, and when you create/save the object defined in your models.py that has a FileField using the uploaded file, it will automatically save it to the specified storage media. Here are the docs: https://docs.djangoproject.com/en/dev/topics/files/#the-built-in-filesystem-storage-class

Leave a comment