Browse Source

Merge 54a55b2f7a into d0b1d87c4e

pull/884/merge
Rogério Frá 9 years ago
committed by GitHub
parent
commit
40d51aa8cc
  1. 4
      sapl/sessao/models.py

4
sapl/sessao/models.py

@ -90,6 +90,10 @@ def ata_upload_path(instance, filename):
return texto_upload_path(instance, filename, subpath='ata') return texto_upload_path(instance, filename, subpath='ata')
# return get_sessao_media_path(instance, 'ata', filename) # return get_sessao_media_path(instance, 'ata', filename)
def anexo_upload_path(instance, filename):
return texto_upload_path(instance, filename, subpath='anexo')
# return get_sessao_media_path(instance, 'anexo', filename)
def anexo_upload_path(instance, filename): def anexo_upload_path(instance, filename):
return texto_upload_path(instance, filename, subpath='anexo') return texto_upload_path(instance, filename, subpath='anexo')

Loading…
Cancel
Save