index_pdf
This commit is contained in:
parent
bb96f7d517
commit
0a04b08308
4 changed files with 19 additions and 16 deletions
|
|
@ -176,12 +176,12 @@ class PDFResponse(HttpResponse):
|
|||
self['Content-Disposition'] = 'attachment; filename={0}'.format(filename)
|
||||
self['Content-Type'] = 'charset=utf-8'
|
||||
self.story = []
|
||||
image = Image(settings.MEDIA_ROOT + '/media/header.png', width=499, height=99)
|
||||
image = Image(settings.MEDIA_ROOT + '/media/header.png', width=480, height=80)
|
||||
image.hAlign = 0
|
||||
|
||||
|
||||
self.story.append(image)
|
||||
self.story.append(Spacer(0,1*cm))
|
||||
#self.story.append(Spacer(0,1*cm))
|
||||
|
||||
data = [['Filières EDS', title]]
|
||||
if portrait:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue