How to get path, url from file object / filefield linkaiyi Erstellt: 22. Dezember 2021 11:31 - Aktualisiert: 22. Dezember 2021 11:31 - Lesezeit: 1 mins Follow File attributes file.path # absolute path of the file file.name # relative path to media_root file.url # url link of the file file.size # file size in bytes Object has 0 attachments Was this article helpful? 0 0 This article is viewed 44 times! Recent Viewed Articles Related Articles Get Url from request object How to prevent Django from changing file name when a file with that name already exists? 0 Comments Leave a Comment cancel reply