Example #1
0
def norma_upload_path(instance, filename):
    return texto_upload_path(instance, filename, subpath=instance.ano)
Example #2
0
def anexo_upload_path(instance, filename):
    return texto_upload_path(instance, filename, subpath=instance.materia.ano)
Example #3
0
def foto_upload_path(instance, filename):
    return texto_upload_path(instance, filename, subpath='')
Example #4
0
def anexo_upload_path(instance, filename):
    return texto_upload_path(instance,
                             filename,
                             subpath='anexo',
                             pk_first=True)
Example #5
0
def pauta_upload_path(instance, filename):
    return texto_upload_path(instance,
                             filename,
                             subpath='pauta',
                             pk_first=True)
Example #6
0
def ata_upload_path(instance, filename):
    return texto_upload_path(instance, filename, subpath='ata')
Example #7
0
def anexo_upload_path(instance, filename):
    return texto_upload_path(instance, filename, subpath='anexo')
Example #8
0
def ata_upload_path(instance, filename):
    return texto_upload_path(instance, filename, subpath='ata')