def generate_remote_jpeg_name(instance, filename): """ Generates a name of the form split-jpeg/<random_string><timestamp>.jpeg """ return utils.generate_timestamped_random_name('split-jpeg', 'jpeg')
def generate_remote_pdf_name(instance, filename): """ Generates a name of the form split-pdf/<random_string><timestamp>.pdf """ return utils.generate_timestamped_random_name('split-pdf', 'pdf')
def generate_remote_image_name(instance, filename): """ Generates a name of the form freeform-annotation-png/<random_string><timestamp>.png """ return utils.generate_timestamped_random_name( 'freeform-annotation-png', 'png')
def generate_remote_jpeg_name(instance, filename): """ Generates a name of the form split-jpeg/<random_string><timestamp>.jpeg """ return utils.generate_timestamped_random_name('split-jpeg', 'jpeg')
def generate_remote_pdf_name(instance, filename): """ Generates a name of the form split-pdf/<random_string><timestamp>.pdf """ return utils.generate_timestamped_random_name('split-pdf', 'pdf')
def generate_remote_image_name(instance, filename): """ Generates a name of the form freeform-annotation-png/<random_string><timestamp>.png """ return utils.generate_timestamped_random_name('freeform-annotation-png', 'png')