Browse Source

Alterando caminho das imagens do relatorio

diagnosticos
Starlone (Estagiario) 15 years ago
parent
commit
8cf792e7a0
  1. 3
      sigi/apps/convenios/reports.py

3
sigi/apps/convenios/reports.py

@ -26,7 +26,8 @@ class ReportDefault(Report):
class band_page_header(ReportBand):
height = 4.2*cm
BASE_DIR = os.path.abspath(os.path.dirname('') + '..')
BASE_DIR = os.path.abspath(os.path.dirname(__file__) + '../../../../')
#BASE_DIR = os.path.abspath(os.getcwd() + '../..')
elements = [
Image(filename= BASE_DIR + '/media/images/logo-interlegis.jpg',

Loading…
Cancel
Save