Link to GCP storage for files

WARNING: We need to reflect in the webpage that these won't be behind a
login.

GitLab Issue #2
This commit is contained in:
Sachi King 2017-05-07 16:17:29 +10:00
parent e61d87d37c
commit 8cb7bcc021

View file

@ -248,5 +248,4 @@ class SupportingDocument(models.Model):
description = models.CharField(max_length=140, verbose_name=_("Description"))
def download_url(self):
return reverse("proposal_document_download",
args=[self.pk, os.path.basename(self.file.name).lower()])
return self.file.url