-
-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] fs_file: New property 'url_path' on FSFileValue object
In the same time ensures the value is None for the 'url', 'url_path' and 'internal_url' properties if not available (instead of 'False')
- Loading branch information
Showing
3 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Add a *url_path* property on the *FSFileValue* object. This property | ||
allows you to easily get access to the relative path of the file on | ||
the filesystem. This value is only available if the filesystem storage | ||
is configured with a *Base URL* value. | ||
|
||
The *url_path*, *url* and *internal_url* properties on the *FSFileValue* | ||
object return *None* if the information is not available (instead of *False*). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters