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