So I have a upload form:
def upload(request):
if request.method == 'POST':
uploaded_file = request.FILES['file']
fs = FileSystemStorage()
fs.save(uploaded_file.name, uploaded_file)
return render(request, 'nas/upload.html')
But I am not sure where to specify where the file gets uploaded to. I would like it to come from the currently active drive, which has an attribute Drive.path