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