You want django to check it because it ensures that the file is placed inside the MEDIA_ROOT directory, so it is available for download.
In any case, you want to put the files outside of MEDIA_ROOT (in this case '/ tmp'), you should do something like this:
from django.core.files.storage import FileSystemStorage fs = FileSystemStorage(location='/tmp') class YourModel(models.Model): ... file_field = models.FileField(..., storage=fs)
see Django Documentation
source share