Added get_error_icon_url() function to the mimetype app to be used for the new smarted document widget

This commit is contained in:
Roberto Rosario
2011-11-22 07:53:51 -04:00
parent 4cf935925b
commit 5097a8b180

View File

@@ -83,6 +83,9 @@ def get_error_icon_file_path():
else: else:
return os.path.join(settings.STATIC_ROOT, MIMETYPE_ICONS_DIRECTORY_NAME, ERROR_FILE_NAME) return os.path.join(settings.STATIC_ROOT, MIMETYPE_ICONS_DIRECTORY_NAME, ERROR_FILE_NAME)
def get_error_icon_url():
return os.path.join(MIMETYPE_ICONS_DIRECTORY_NAME, ERROR_FILE_NAME)
def get_mimetype(file_description, filepath, mimetype_only=False): def get_mimetype(file_description, filepath, mimetype_only=False):
""" """