image_loader/image/utils.py
def create_link(seconds, image_name, size):
    """
    Function returns temporary link to the image
    """
    token = signing.dumps([str(timezone.now() + timedelta(seconds=int(seconds))), image_name, size])
    return settings.SERVER_PATH + reverse("image:dynamic-image", kwargs={"token": token})

    Function returns temporary link to the image
    
Function returns temporary link to the image
Function returns temporary link to the image
def create_link(seconds, image_name, size):
    token = signing.dumps([str(timezone.now() + timedelta(seconds=int(seconds))), image_name, size])
    return settings.SERVER_PATH + reverse("image:dynamic-image", kwargs={"token": token})
def create_link ( seconds , image_name , size ) : token = signing . dumps ( [ str ( timezone . now ( ) + timedelta ( seconds = int ( seconds ) ) ) , image_name , size ] ) return settings . SERVER_PATH + reverse ( "image:dynamic-image" , kwargs = { "token" : token } )
Function returns temporary link to the image
Function returns temporary link to the image
"""
    Function returns temporary link to the image
    """
seconds
image_name
size