Hello @kartik,
You can just use the built in django serve view. This is excellent for quick prototypes or one-off work, you should use something like apache or nginx in production.
from django.views.static import serve
filepath = '/some/path/to/local/file.txt'
return serve(request, os.path.basename(filepath), os.path.dirname(filepath))
Hope it helps!!
Thank you!!