def get_download_url(self, instance, default=None):
download = default<EOL>download = "<STR_LIT>".format(<EOL>url=instance.absolute_url(), fieldname=self.get_field_name())<EOL>return download<EOL>
Calculate the download url