Get absolute file path of FileField of a model instance in Django
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
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