[Django]-Get absolute file path of FileField of a model instance in Django

74👍

Found an answer.

I gotta do a .path on the FileField

If I do

obj.audio_file.path 

obj is the model instance I queried and audio_file is the filefield

Leave a comment