示例#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
文件: models.py 项目: interlegis/sapl
def ata_upload_path(instance, filename):
    return texto_upload_path(instance, filename, subpath='ata')
示例#7
0
文件: models.py 项目: camaragyn/sapl
def anexo_upload_path(instance, filename):
    return texto_upload_path(instance, filename, subpath='anexo')
示例#8
0
文件: models.py 项目: camaragyn/sapl
def ata_upload_path(instance, filename):
    return texto_upload_path(instance, filename, subpath='ata')