id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 2598 [patch] Added web_path option to FilePathField scum Adrian Holovaty " I understand that you need the full path in order to scan the directory for files but saving the full path information to the database seems completely worthless. When I am using an object with a filepath field, I need access to the web relative path, not the file system relative path. What is needed is a web_path variable. This optional keyword will remove the regular path and replace it with the web_path. Usage: icon = models.FilePathField(path=""/Users/scum/Sites/testsite/templates/media/img/icons/"", match="".+.[gif|jpg]"", recursive=True, web_path=""/images/icons"") Examples: /Users/scum/Sites/testsite/templates/media/images/icons/icon1.gif will be saved as '/img/icons/icon1.gif' in the database /Users/scum/Sites/testsite/templates/media/images/icons/directoryName/icon2.gif will be saved as '/img/icons/directoryName/icon2.gif' in the database " enhancement closed contrib.admin normal wontfix FilePathField Unreviewed 1 0 0 0 0 0