I have a File model, which store path field - path in the filesystem to file. All files are stored in MEDIA_ROOT/files
File
path
In template I want g
I'm not sure what exactly you mean by "generate download link", but to simply link to the file, just use {{ some_file.url }} as your href.
{{ some_file.url }}
href