base_url URL that serves the files stored at this location. Defaults to the value of your MEDIA_URL setting.
location Absolute path to the directory that will hold the files. Defaults to the value of your MEDIA_ROOT setting
open(name, mode='rb') [source] Opens the file given by name. Note that although
listdir(path) [source] Lists the contents of the specified path, returning a 2-tuple of lists;
size(name) [source] Returns the total size, in bytes, of the file referenced by name
get_valid_name(name) [source] Returns a filename based on the name parameter
url(name) [source] Returns the URL where the contents of the file referenced by name
generate_filename(filename) [source] New in Django
accessed_time(name) [source] Returns a naive datetime object containing the
created_time(name) [source] Returns a naive datetime object containing the creation
Page 1 of 3