From: Guillaume Pellerin Date: Mon, 23 Jun 2014 16:05:04 +0000 (+0200) Subject: give the real url too crocodoc X-Git-Tag: 1.1~466 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8c0f9af53421aa04ce36b3bf0003cc1f190e710f;p=teleforma.git give the real url too crocodoc --- diff --git a/teleforma/exam/models.py b/teleforma/exam/models.py index 99c9970a..504e80cb 100644 --- a/teleforma/exam/models.py +++ b/teleforma/exam/models.py @@ -278,8 +278,7 @@ class Script(BaseResource): def submit(self): self.date_submitted = datetime.datetime.now() - # self.url = settings.MEDIA_URL + unicode(self.file) - self.url='http://files.parisson.com/pre-barreau/LATRILLE Adeline - Procedure civile 1.pdf' + self.url = settings.MEDIA_URL + unicode(self.file) self.box_uuid = crocodoc.document.upload(url=self.url) self.status = 3 if not self.corrector: