Example #1
0
def position_attachment_upload_to(instance, filename):
    return upload_path('faculty', 'positions', filename)
Example #2
0
def visa_attachment_upload_to(instance, filename):
    return upload_path('visas', str(instance.visa.start_date.year), filename)
Example #3
0
def capture_upload_to(instance, filename):
    return upload_path(instance.quiz.activity.offering.slug, '_quiz_photos',
                       filename)
Example #4
0
def attachment_upload_to(instance, filename):
    return upload_path('advisornotes', filename)
Example #5
0
def tacontracts_attachment_upload_to(instance, filename):
    return upload_path('taattachments', filename)
Example #6
0
def sessional_attachment_upload_to(instance, filename):
    return upload_path('sessionals', filename)
Example #7
0
def attachment_upload_to(instance, filename):
    return upload_path('faculty', str(instance.career_event.start_date.year),
                       filename)
Example #8
0
def _disc_upload_to(instance, filename):
    """
    path to upload case attachment
    """
    return upload_path(instance.case.offering.slug, '_discipline', filename)
Example #9
0
def _sig_upload_to(instance, filename):
    """
    path to upload case attachment
    """
    return upload_path('signatures', filename)
Example #10
0
def asset_attachment_upload_to(instance, filename):
    return upload_path('assets', filename)
Example #11
0
def _file_upload_to(instance, filename):
    """
    path to upload TA Application resume
    """
    return upload_path('ta_applications', filename)
Example #12
0
def ra_attachment_upload_to(instance, filename):
    return upload_path('raattachments', str(instance.appointment.start_date.year), filename)
Example #13
0
def attachment_upload_to(instance, filename):
    return upload_path(instance.page.offering.slug, '_pagefiles', filename)
Example #14
0
def attachment_upload_to(instance, filename):
    return upload_path('relationships', filename)
Example #15
0
def visa_attachment_upload_to(instance, filename):
    return upload_path('visas', filename)
Example #16
0
def submission_upload_path(instance, filename):
    return upload_path(instance.component.activity.offering.slug, filename)
Example #17
0
def similarity_upload_path(instance, filename):
    return upload_path(instance.result.activity.offering.slug, '_similarity', filename)
Example #18
0
def ra_attachment_upload_to(instance, filename):
    return upload_path('raattachments', filename)
Example #19
0
def tacontracts_attachment_upload_to(instance, filename):
    return upload_path('taattachments', str(instance.contract.appointment_start.year), filename)
Example #20
0
def space_attachment_upload_to(instance, filename):
    return upload_path('space', filename)
Example #21
0
def attachment_upload_to(instance, filename):
    return upload_path('relationships', str(instance.event.timestamp.year),
                       filename)
Example #22
0
def file_upload_to(instance, filename):
    return upload_path(instance.question.quiz.activity.offering.slug,
                       '_quizzes', filename)
Example #23
0
def _file_upload_to(instance, filename):
    """
    path to upload TA Application resume
    """
    return upload_path('ta_applications', instance.posting.semester.name, filename)
Example #24
0
def _file_upload_to(instance, filename):
    """
    path to upload TA Application resume
    """
    return upload_path('ta_applications', filename)
Example #25
0
def visa_attachment_upload_to(instance, filename):
    return upload_path('visas', filename)
Example #26
0
def attachment_upload_to(instance, filename):
    return upload_path('faculty', filename)
Example #27
0
def submission_upload_path(instance, filename):
    return upload_path(instance.component.activity.offering.slug, filename)
Example #28
0
def space_attachment_upload_to(instance, filename):
    return upload_path('space', filename)
Example #29
0
def attachment_upload_to(instance, filename):
    return upload_path('faculty', filename)
Example #30
0
def attachment_upload_to(instance, filename):
    return upload_path('relationships', filename)
Example #31
0
def position_attachment_upload_to(instance, filename):
    return upload_path('faculty', 'positions', filename)
Example #32
0
def asset_attachment_upload_to(instance, filename):
    return upload_path('assets', filename)
Example #33
0
def attachment_upload_to(instance, filename):
    return upload_path(instance.activity.offering.slug, '_marking', filename)
Example #34
0
def ra_attachment_upload_to(instance, filename):
    return upload_path('raattachments', filename)
Example #35
0
def ra_request_admin_attachment_upload_to(instance, filename):
    return upload_path('rarequestadminattachments', filename)
Example #36
0
def attachment_upload_to(instance, filename):
    return upload_path('advisornotes', str(datetime.date.today().year),
                       filename)
Example #37
0
def tacontracts_attachment_upload_to(instance, filename):
    return upload_path('taattachments', filename)